qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Trouble with GDB & Some 'Can it be done' Debugging ques


From: Daniel Jacobowitz
Subject: Re: [Qemu-devel] Trouble with GDB & Some 'Can it be done' Debugging questions
Date: Thu, 20 Jul 2006 17:30:55 -0400
User-agent: Mutt/1.5.11+cvs20060403

On Thu, Jul 20, 2006 at 11:04:01PM +0200, Fabrice Bellard wrote:
> Daniel Jacobowitz wrote:
> >On Wed, Jul 19, 2006 at 08:43:57AM +0000, Steve Ellenoff wrote:
> >
> >>#3) Anytime I try to dump the instruction at the current IP such as:
> >>(gdb) x /10i $eip
> >>
> >>I get this - which means it's not actually reading or displaying the 
> >>memory properly, since those look to be what you would see if it was all 
> >>0 in memory (or maybe it's all 0xff - whichever).l
> >>
> >>0xe05f: add    %al,(%eax)
> >
> >
> >qemu doesn't report memory errors to GDB.  It reports -1 values
> >instead.  This is annoying.  I think I posted a patch for it once and
> >never followed up when it was ignored.
> 
> This is not correct: an error is correctly reported by the QEMU gdb stub...

Must've been fixed then!  Sorry.  In that case, Steve, you're probably
reading the wrong address (maybe segmentation-related?).

-- 
Daniel Jacobowitz
CodeSourcery




reply via email to

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