From: Mariano Wahlmann <wahlmann@agro.uba.ar>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Re: Debugging guest OS
Date: Thu, 02 Jun 2005 13:32:01 -0300 [thread overview]
Message-ID: <429F3481.6090302@agro.uba.ar> (raw)
In-Reply-To: <200506021635.03227.paul@codesourcery.com>
Paul Brook wrote:
>On Thursday 02 June 2005 16:20, Mariano Wahlmann wrote:
>
>
>>but in order to disassemble i have to do "display /i $cs * 16 + $eip",
>>this is for real mode, what is the syntaxis for protected mode?
>>is there any varible that contains a pointer to current virtual address
>>of the next instruction.
>>
>>
>
>Usually it will just be $eip
>
>Technically you need to add the current code segment offset, but most (all?)
>x86 OS use a flat memory model, so this is zero.
>
>Paul
>
>
>
i think this is not true, you can have so many desciptors on gdt table,
not all start at has 0 as base address.
The way that i find to do that, is to look in "info register" on qemu
monitor, and look what is the current base for cs and add it to eip.
This is a very uneasy way.
>_______________________________________________
>Qemu-devel mailing list
>Qemu-devel@nongnu.org
>http://lists.nongnu.org/mailman/listinfo/qemu-devel
>
>
>
--
________________________________________________________
Mariano Agustín Wahlmann
Administrador de Red
Facultad de Agronomía - Buenos Aires - Argentina
Te.: (+54 11) 4524-8000 int.8108
email: mailto:wahlmann@agro.uba.ar
www: http://www.agro.uba.ar
next prev parent reply other threads:[~2005-06-02 16:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-02 12:43 [Qemu-devel] Debugging guest OS Mariano Wahlmann
2005-06-02 14:12 ` [Qemu-devel] " Ben Pfaff
2005-06-02 15:20 ` Mariano Wahlmann
2005-06-02 15:35 ` Paul Brook
2005-06-02 16:32 ` Mariano Wahlmann [this message]
2005-06-02 16:55 ` Paul Brook
2005-06-02 20:46 ` Fabrice Bellard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=429F3481.6090302@agro.uba.ar \
--to=wahlmann@agro.uba.ar \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.