Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Michael Snyder <msnyder@redhat.com>
To: Richard.Earnshaw@arm.com
Cc: fnf@redhat.com, gdb-patches@sources.redhat.com
Subject: Re: [RFC] "info registers" is misleading
Date: Tue, 22 Jan 2002 07:49:00 -0000	[thread overview]
Message-ID: <3C4D88F8.75EE@redhat.com> (raw)
In-Reply-To: <200201221027.KAA28112@cam-mail2.cambridge.arm.com>

Richard Earnshaw wrote:
> 
> msnyder@redhat.com said:
> > This is an old old issue.  The frame pointer register is special.
> > Info registers does not show the actual value of the fp register -- it
> > shows the virtual frame pointer (the address of the function's stack
> > frame).  Usually it's the same value -- unles you're in a frameless
> > function (ie. one that does not use the frame pointer register).
> 
> > Now that we have pseudo-registers, we've talked about  adding a
> > pseudo-frame-pointer register and using it for FP_REGNUM, so that the
> > "real" frame pointer register can always display its real value.
> 
> Indeed.  It isn't even confined to Thumb code.  

It isn't even confined to ARM code.  It's true for all architectures.


  reply	other threads:[~2002-01-22 15:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-21 22:51 Fred Fish
2002-01-21 23:13 ` Michael Snyder
2002-01-22  2:46   ` Eli Zaretskii
2002-01-22  5:47     ` Richard Earnshaw
2002-01-22  7:23     ` Andrew Cagney
2002-01-22  4:09   ` Richard Earnshaw
2002-01-22  7:49     ` Michael Snyder [this message]
2002-01-22  7:21 ` Andrew Cagney
2002-01-22  7:44 Michael Elizabeth Chastain

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=3C4D88F8.75EE@redhat.com \
    --to=msnyder@redhat.com \
    --cc=Richard.Earnshaw@arm.com \
    --cc=fnf@redhat.com \
    --cc=gdb-patches@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