summaryrefslogtreecommitdiff
path: root/gdb/mips64obsd-tdep.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2008-04-30 21:25:16 +0000
committerDaniel Jacobowitz <dan@debian.org>2008-04-30 21:25:16 +0000
commitf0b94314367977da53d5c0aae76ab781d7b40ed2 (patch)
tree4e0406c0dbcc1db034bfe0ef32e543371ee6e027 /gdb/mips64obsd-tdep.c
parentd181b790ef1a7dffc583be3bf0aef4d6871da448 (diff)
downloadgdb-f0b94314367977da53d5c0aae76ab781d7b40ed2.tar.gz
* mipsnbsd-tdep.c, mips64obsd-tdep.c, mips-linux-tdep.c: Update
for unwinder changes. * mips-tdep.c: Likewise. (mips_stub_frame_cache): Unwind the ABI stack pointer, not the raw one.
Diffstat (limited to 'gdb/mips64obsd-tdep.c')
-rw-r--r--gdb/mips64obsd-tdep.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/gdb/mips64obsd-tdep.c b/gdb/mips64obsd-tdep.c
index 16eabb296da..fbb64865508 100644
--- a/gdb/mips64obsd-tdep.c
+++ b/gdb/mips64obsd-tdep.c
@@ -79,19 +79,18 @@ mips64obsd_regset_from_core_section (struct gdbarch *gdbarch,
static void
mips64obsd_sigframe_init (const struct tramp_frame *self,
- struct frame_info *next_frame,
+ struct frame_info *this_frame,
struct trad_frame_cache *cache,
CORE_ADDR func)
{
- struct gdbarch *gdbarch = get_frame_arch (next_frame);
+ struct gdbarch *gdbarch = get_frame_arch (this_frame);
CORE_ADDR sp, sigcontext_addr, addr;
int regnum;
/* We find the appropriate instance of `struct sigcontext' at a
fixed offset in the signal frame. */
- sp = frame_unwind_register_signed (next_frame,
- MIPS_SP_REGNUM
- + gdbarch_num_regs (gdbarch));
+ sp = get_frame_register_signed (this_frame,
+ MIPS_SP_REGNUM + gdbarch_num_regs (gdbarch));
sigcontext_addr = sp + 32;
/* PC. */