diff options
author | Daniel Jacobowitz <drow@false.org> | 2008-04-30 21:28:57 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2008-04-30 21:28:57 +0000 |
commit | 5366653e67978dff4051cd8b5326cafd088776f5 (patch) | |
tree | 169ce9a0b38463cbe96bd2598c36b68435107dcf /gdb/ppcnbsd-tdep.c | |
parent | * mipsnbsd-tdep.c, mips64obsd-tdep.c, mips-linux-tdep.c: Update (diff) | |
download | binutils-gdb-5366653e67978dff4051cd8b5326cafd088776f5.tar.gz binutils-gdb-5366653e67978dff4051cd8b5326cafd088776f5.tar.bz2 binutils-gdb-5366653e67978dff4051cd8b5326cafd088776f5.zip |
* hppanbsd-tdep.c, m68kbsd-tdep.c, mn10300-linux-tdep.c,
ppc-linux-tdep.c, ppcnbsd-tdep.c, sparc-linux-tdep.c,
sparc64-linux-tdep.c: Update for unwinder changes.
Diffstat (limited to 'gdb/ppcnbsd-tdep.c')
-rw-r--r-- | gdb/ppcnbsd-tdep.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/ppcnbsd-tdep.c b/gdb/ppcnbsd-tdep.c index 0d4ad6bcc26..cc99e962ec2 100644 --- a/gdb/ppcnbsd-tdep.c +++ b/gdb/ppcnbsd-tdep.c @@ -104,17 +104,17 @@ static const struct tramp_frame ppcnbsd2_sigtramp; static void ppcnbsd_sigtramp_cache_init (const struct tramp_frame *self, - struct frame_info *next_frame, + struct frame_info *this_frame, struct trad_frame_cache *this_cache, CORE_ADDR func) { - struct gdbarch *gdbarch = get_frame_arch (next_frame); + struct gdbarch *gdbarch = get_frame_arch (this_frame); struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch); CORE_ADDR addr, base; int i; - base = frame_unwind_register_unsigned (next_frame, - gdbarch_sp_regnum (gdbarch)); + base = get_frame_register_unsigned (this_frame, + gdbarch_sp_regnum (gdbarch)); if (self == &ppcnbsd2_sigtramp) addr = base + 0x10 + 2 * tdep->wordsize; else |