qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Re: Debugging with paging enabled


From: Daniel Jacobowitz
Subject: Re: [Qemu-devel] Re: Debugging with paging enabled
Date: Wed, 8 Nov 2006 18:42:26 -0500
User-agent: Mutt/1.5.13 (2006-08-11)

On Thu, Nov 09, 2006 at 12:33:05AM +0100, Marcel Kilgus wrote:
> Leaving that aside, if I do set the breakpoint correctly at virtual
> address (e.g.) 0xC0123456 qemu will (correctly I guess) cause an
> exception for code offset 0x123456 (as CS base is 0xC0000000). GDB
> however then doesn't recognize its own breakpoint as it only remembers
> having set one at 0xC0123456, and apparently doesn't translate the
> given exception address of CS:0x123456 back to a virtual one.

Which segment is it running from at this point?  Qemu may be reporting
the wrong address.

> So all in all GDB just doesn't seem to cope very well with segmented
> memory.

Correct.  It doesn't know anything at all about i386 segmentation.

-- 
Daniel Jacobowitz
CodeSourcery




reply via email to

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