aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/alpha-linux-tdep.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c36404f..6e4ed54 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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'
diff --git a/gdb/alpha-linux-tdep.c b/gdb/alpha-linux-tdep.c
index 1b956e8..c5d7481 100644
--- a/gdb/alpha-linux-tdep.c
+++ b/gdb/alpha-linux-tdep.c
@@ -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