2003-01-08 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Thu, 9 Jan 2003 00:24:50 +0000 (00:24 +0000)
committerAndrew Cagney <cagney@redhat.com>
Thu, 9 Jan 2003 00:24:50 +0000 (00:24 +0000)
* alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
get_frame_base.

gdb/ChangeLog
gdb/alpha-linux-tdep.c

index c36404f..6e4ed54 100644 (file)
@@ -1,3 +1,8 @@
+2003-01-08  Andrew Cagney  <cagney@redhat.com>
+
+       * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
+       get_frame_base.
+
 2003-01-08  Andrew Cagney  <ac131313@redhat.com>
 
        * gdb_mbuild.sh: Edit the output of `maint print architecture'
index 1b956e8..c5d7481 100644 (file)
@@ -96,7 +96,7 @@ alpha_linux_pc_in_sigtramp (CORE_ADDR pc, char *func_name)
 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