This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ARM frame fp is not always FP_REGNUM


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]