diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-01-08 01:53:38 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-01-08 01:53:38 +0000 |
commit | 1e2330ba1fbf486c2851272e2aa09dd57ad367e6 (patch) | |
tree | 9a92bb6aff20e7c56c6efce933de70fd249841e1 /gdb/x86-64-linux-tdep.c | |
parent | a3982d4858ac407c7e879a57762bc4130d54d4b8 (diff) | |
download | gdb-1e2330ba1fbf486c2851272e2aa09dd57ad367e6.zip gdb-1e2330ba1fbf486c2851272e2aa09dd57ad367e6.tar.gz gdb-1e2330ba1fbf486c2851272e2aa09dd57ad367e6.tar.bz2 |
2003-01-07 Andrew Cagney <cagney@redhat.com>
* alpha-tdep.c: Use get_frame_base.
* arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
* h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
* m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
* mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
* sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto.
* x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
* config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto.
* config/sparc/tm-sparc.h: Ditto.
Diffstat (limited to 'gdb/x86-64-linux-tdep.c')
-rw-r--r-- | gdb/x86-64-linux-tdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/x86-64-linux-tdep.c b/gdb/x86-64-linux-tdep.c index fa43db2..0413f86 100644 --- a/gdb/x86-64-linux-tdep.c +++ b/gdb/x86-64-linux-tdep.c @@ -95,7 +95,7 @@ x86_64_linux_sigcontext_addr (struct frame_info *frame) /* If this isn't the top frame, the next frame must be for the signal handler itself. The sigcontext structure is part of the user context. */ - return frame->next->frame + LINUX_SIGINFO_SIZE + + return get_frame_base (frame->next) + LINUX_SIGINFO_SIZE + LINUX_UCONTEXT_SIGCONTEXT_OFFSET; @@ -164,10 +164,10 @@ x86_64_linux_frame_chain (struct frame_info *fi) if (fp) return fp; else - addr = fi->frame; + addr = get_frame_base (fi); } else - addr = fi->next->frame; + addr = get_frame_base (fi->next); addr += LINUX_SIGINFO_SIZE + LINUX_UCONTEXT_SIGCONTEXT_OFFSET; |