All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.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 17:30:55 -0400	[thread overview]
Message-ID: <20060720213055.GA29241@nevyn.them.org> (raw)
In-Reply-To: <44BFEFC1.7090206@bellard.org>

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	other threads:[~2006-07-20 21:30 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
2006-07-20 21:30     ` Daniel Jacobowitz [this message]

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=20060720213055.GA29241@nevyn.them.org \
    --to=drow@false.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.