Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@ges.redhat.com>
To: Christopher Faylor <cgf@redhat.com>
Cc: Elena Zannoni <ezannoni@redhat.com>, gdb@sources.redhat.com
Subject: Re: SEGV on display /i $pc with i386 target
Date: Mon, 02 Sep 2002 13:26:00 -0000	[thread overview]
Message-ID: <3D73C989.9080306@ges.redhat.com> (raw)
In-Reply-To: <20020830035319.GA30200@redhat.com>

> On Thu, Aug 29, 2002 at 11:35:43PM -0400, Elena Zannoni wrote:
> 
>>Seems like target_map_name_to_register is the problem?

Yes.  It will be related to that.  When updating the code, I searched 
for something that relied on the reverse lookup (regnum -> name) but 
couldn't find anything (at least nothing that affected the testsuite).

> It seems to be getting the correct correspondence between (in this
> case) $eip and $pc.  You can see this by typing "print /x $pc"
> "print /x $eip".  Both translate to the same thing.
> 
> It's only when the name itself needs to be displayed that it seems
> to fall down.

GDB is mapping:

	"$pc" -> NUM_REGS+NUM_PSEUDO_REGS+<builtin-pc>

and then failing:

	... -> "$pc"

because the mechanism isn't there.

I'll figure out a patch.

	Andrew



      reply	other threads:[~2002-09-02 20:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-28 22:51 Christopher Faylor
2002-08-29 15:40 ` Mark Kettenis
2002-08-29 18:05   ` Christopher Faylor
2002-08-29 20:37     ` Elena Zannoni
2002-08-29 20:53       ` Christopher Faylor
2002-09-02 13:26         ` Andrew Cagney [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=3D73C989.9080306@ges.redhat.com \
    --to=ac131313@ges.redhat.com \
    --cc=cgf@redhat.com \
    --cc=ezannoni@redhat.com \
    --cc=gdb@sources.redhat.com \
    /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