This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
gdb/121: Replace READ_FP() with FRAME_HANDLE().
- To: gdb-gnats at sources dot redhat dot com
- Subject: gdb/121: Replace READ_FP() with FRAME_HANDLE().
- From: ac131313 at cygnus dot com
- Date: 7 Jul 2001 02:49:10 -0000
- Reply-To: ac131313 at cygnus dot com
>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: