From: Fabrice Bellard <fabrice@bellard.org>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Trouble with GDB & Some 'Can it be done' Debugging questions
Date: Thu, 20 Jul 2006 23:04:01 +0200 [thread overview]
Message-ID: <44BFEFC1.7090206@bellard.org> (raw)
In-Reply-To: <20060720191723.GA25347@nevyn.them.org>
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...
Regards,
Fabrice.
next prev parent reply other threads:[~2006-07-20 21:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-19 8:43 [Qemu-devel] Trouble with GDB & Some 'Can it be done' Debugging questions Steve Ellenoff
2006-07-20 7:11 ` Mulyadi Santosa
2006-07-27 3:11 ` Steve Ellenoff
2006-07-20 19:17 ` Daniel Jacobowitz
2006-07-20 21:04 ` Fabrice Bellard [this message]
2006-07-20 21:30 ` Daniel Jacobowitz
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=44BFEFC1.7090206@bellard.org \
--to=fabrice@bellard.org \
--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).