diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2008-06-28 17:29:04 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2008-06-28 17:29:04 +0000 |
commit | 94afd7a6d348a66ea3fb35fdb8234b050ec8c779 (patch) | |
tree | dbf3f5264799c070696da08515f2d6260ce9df42 /gdb/alphaobsd-tdep.c | |
parent | e111d6c9206464acdff70102b29d82b4b48d1fc1 (diff) | |
download | gdb-94afd7a6d348a66ea3fb35fdb8234b050ec8c779.zip gdb-94afd7a6d348a66ea3fb35fdb8234b050ec8c779.tar.gz gdb-94afd7a6d348a66ea3fb35fdb8234b050ec8c779.tar.bz2 |
* alphafbsd-tdep.c: Update for unwinder changes.
* alpha-linux-tdep.c: Likewise.
* alphanbsd-tdep.c: Likewise.
* alphaobsd-tdep.c: Likewise.
* avr-tdep.c: Likewise.
* cris-tdep.c: Likewise.
* frv-linux-tdep.c: Likewise.
* frv-tdep.c: Likewise.
* h8300-tdep.c: Likewise.
* hppa-linux-tdep.c: Likewise.
* iq2000-tdep.c: Likewise.
* m32c-tdep.c: Likewise.
* m32r-linux-tdep.c: Likewise.
* m32r-tdep.c: Likewise.
* m68hc11-tdep.c: Likewise.
* mep-tdep.c: Likewise.
* mn10300-tdep.c: Likewise.
* mt-tdep.c: Likewise.
* score-tdep.c: Likewise.
* sh64-tdep.c: Likewise.
* sh-tdep.c: Likewise.
* sparc64fbsd-tdep.c: Likewise.
* sparc64nbsd-tdep.c: Likewise.
* sparc64obsd-tdep.c: Likewise.
* v850-tdep.c: Likewise.
* vaxobsd-tdep.c: Likewise.
* vax-tdep.c: Likewise.
* xstormy16-tdep.c: Likewise.
Diffstat (limited to 'gdb/alphaobsd-tdep.c')
-rw-r--r-- | gdb/alphaobsd-tdep.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/alphaobsd-tdep.c b/gdb/alphaobsd-tdep.c index 8a1da45..8c951d4 100644 --- a/gdb/alphaobsd-tdep.c +++ b/gdb/alphaobsd-tdep.c @@ -68,26 +68,26 @@ alphaobsd_pc_in_sigtramp (CORE_ADDR pc, char *name) } static CORE_ADDR -alphaobsd_sigcontext_addr (struct frame_info *next_frame) +alphaobsd_sigcontext_addr (struct frame_info *this_frame) { - CORE_ADDR pc = frame_pc_unwind (next_frame); + CORE_ADDR pc = get_frame_pc (this_frame); if (alphaobsd_sigtramp_offset (pc) < 3 * ALPHA_INSN_SIZE) { /* On entry, a pointer the `struct sigcontext' is passed in %a2. */ - return frame_unwind_register_unsigned (next_frame, ALPHA_A0_REGNUM + 2); + return get_frame_register_unsigned (this_frame, ALPHA_A0_REGNUM + 2); } else if (alphaobsd_sigtramp_offset (pc) < 4 * ALPHA_INSN_SIZE) { /* It is stored on the stack Before calling the signal handler. */ CORE_ADDR sp; - sp = frame_unwind_register_unsigned (next_frame, ALPHA_SP_REGNUM); - return get_frame_memory_unsigned (next_frame, sp, 8); + sp = get_frame_register_unsigned (this_frame, ALPHA_SP_REGNUM); + return get_frame_memory_unsigned (this_frame, sp, 8); } else { /* It is reloaded into %a0 for the sigreturn(2) call. */ - return frame_unwind_register_unsigned (next_frame, ALPHA_A0_REGNUM); + return get_frame_register_unsigned (this_frame, ALPHA_A0_REGNUM); } } |