gdb/121: Replace READ_FP() with FRAME_HANDLE().
ac131313@cygnus.com
ac131313@cygnus.com
Fri Jul 6 19:58:00 GMT 2001
>Number: 121
>Category: gdb
>Synopsis: Replace READ_FP() with FRAME_HANDLE().
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Jul 06 19:58:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: ac131313@cygnus.com
>Release: unknown-1.0
>Organization:
>Environment:
>Description:
Replace READ_FP() with FRAME_HANDLE().
READ_FP() is a hangover from the days of the vax when the ABI really
did have a frame pointer register. Modern architectures typically
construct a virtual frame-handle from the stack pointer and various
other bits of string.
Unfortunately GDB still treats this synthetic FP register as though it
is real. That in turn really confuses users (arm and ``print $fp'' VS
``info registers fp''). The synthetic FP should be separated out of
the true register set presented to the user.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gdb-prs
mailing list