summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-01-09 00:24:50 +0000
committerAndrew Cagney <cagney@redhat.com>2003-01-09 00:24:50 +0000
commitb557843025d980f2ed254c4a5b38a404a61dd1b9 (patch)
tree6cb1482cb965a517aca009ca97c2d666f1773447
parent4b60c1b10e0ff32fec52ba1d6cc8f0325bb5ac6b (diff)
downloadgdb-b557843025d980f2ed254c4a5b38a404a61dd1b9.tar.gz
2003-01-08 Andrew Cagney <cagney@redhat.com>
* alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use get_frame_base.
-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 c36404f677c..6e4ed54f2ff 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 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