diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-01-09 00:24:50 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-01-09 00:24:50 +0000 |
commit | 1c615f7a4098353ebcbf9714c6f6c8a8e8003707 (patch) | |
tree | 626a81cabbcd5f47e245db693acd459f565ac2d6 | |
parent | 67f047db78fa0b98b1d8e7383a180cf8719d9f77 (diff) | |
download | gdb-1c615f7a4098353ebcbf9714c6f6c8a8e8003707.zip gdb-1c615f7a4098353ebcbf9714c6f6c8a8e8003707.tar.gz gdb-1c615f7a4098353ebcbf9714c6f6c8a8e8003707.tar.bz2 |
2003-01-08 Andrew Cagney <cagney@redhat.com>
* alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
get_frame_base.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/alpha-linux-tdep.c | 2 |
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 |