From: Paul Brook <paul@codesourcery.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Re: Debugging guest OS
Date: Thu, 2 Jun 2005 16:35:03 +0100 [thread overview]
Message-ID: <200506021635.03227.paul@codesourcery.com> (raw)
In-Reply-To: <429F23A5.5000904@agro.uba.ar>
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
next prev parent reply other threads:[~2005-06-02 16:16 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 [this message]
2005-06-02 16:32 ` Mariano Wahlmann
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=200506021635.03227.paul@codesourcery.com \
--to=paul@codesourcery.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).