This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: ARM frame fp is not always FP_REGNUM
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Subject: Re: ARM frame fp is not always FP_REGNUM
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 04 Jul 2000 02:53:17 -0300
- Cc: gdb-patches at sourceware dot cygnus dot com
- Organization: GCC Team, Red Hat
- References: <orn1jyfpso.fsf@guarana.lsd.ic.unicamp.br><39617827.29D15730@cygnus.com>
On Jul 4, 2000, Andrew Cagney <ac131313@cygnus.com> wrote:
> FP_REGNUM refers to GDB's internal frame-handle / frame-pointer /
> frame-base variable.
On ARM, it's register 11, which is a real register. But SP_REGNUM is
register 13. Then, when framereg == 13 in EXTRA_FRAME_INFO, `info
regs' will display the value of r13 for r11, and the actual value of
r11 cannot be obtained.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me