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 /gdb/alpha-linux-tdep.c | |
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.
Diffstat (limited to 'gdb/alpha-linux-tdep.c')
-rw-r--r-- | gdb/alpha-linux-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |