This is the mail archive of the gdb-patches@sources.redhat.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]
Other format: [Raw text]

[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

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