This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[commit] Fix alpha linux with opaque frames
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Wed, 08 Jan 2003 19:26:07 -0500
- Subject: [commit] Fix alpha linux with opaque frames
Hello,
While testing found this stray reference to a frame member. Fixed with
the attached,
committed,
Andrew
2003-01-08 Andrew Cagney <cagney@redhat.com>
* alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
get_frame_base.
Index: alpha-linux-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/alpha-linux-tdep.c,v
retrieving revision 1.8
diff -u -r1.8 alpha-linux-tdep.c
--- alpha-linux-tdep.c 4 Jan 2003 23:38:44 -0000 1.8
+++ alpha-linux-tdep.c 9 Jan 2003 00:19:31 -0000
@@ -96,7 +96,7 @@
static CORE_ADDR
alpha_linux_sigcontext_addr (struct frame_info *frame)
{
- return (frame->frame - 0x298); /* sizeof(struct sigcontext) */
+ return (get_frame_base (frame) - 0x298); /* sizeof(struct sigcontext) */
}
static void