From 1c615f7a4098353ebcbf9714c6f6c8a8e8003707 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Thu, 9 Jan 2003 00:24:50 +0000 Subject: [PATCH] 2003-01-08 Andrew Cagney * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use get_frame_base. --- gdb/ChangeLog | 5 +++++ gdb/alpha-linux-tdep.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c36404f677c..6e4ed54f2ff 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-01-08 Andrew Cagney + + * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use + get_frame_base. + 2003-01-08 Andrew Cagney * 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 1b956e83670..c5d7481fbf9 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 -- 2.30.2