qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Re: Debugging guest OS


From: Paul Brook
Subject: Re: [Qemu-devel] Re: Debugging guest OS
Date: Thu, 2 Jun 2005 16:35:03 +0100
User-agent: KMail/1.7.2

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]