From 5366653e67978dff4051cd8b5326cafd088776f5 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Wed, 30 Apr 2008 21:28:57 +0000 Subject: * 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. --- gdb/sparc-linux-tdep.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gdb/sparc-linux-tdep.c') diff --git a/gdb/sparc-linux-tdep.c b/gdb/sparc-linux-tdep.c index 23c1f2357df..858d0ce7091 100644 --- a/gdb/sparc-linux-tdep.c +++ b/gdb/sparc-linux-tdep.c @@ -37,7 +37,7 @@ /* Signal trampoline support. */ static void sparc32_linux_sigframe_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); @@ -87,14 +87,14 @@ static const struct tramp_frame sparc32_linux_rt_sigframe = static void sparc32_linux_sigframe_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) { CORE_ADDR base, addr, sp_addr; int regnum; - base = frame_unwind_register_unsigned (next_frame, SPARC_O1_REGNUM); + base = get_frame_register_unsigned (this_frame, SPARC_O1_REGNUM); if (self == &sparc32_linux_rt_sigframe) base += 128; @@ -114,8 +114,8 @@ sparc32_linux_sigframe_init (const struct tramp_frame *self, addr += 4; } - base = frame_unwind_register_unsigned (next_frame, SPARC_SP_REGNUM); - addr = get_frame_memory_unsigned (next_frame, sp_addr, 4); + base = get_frame_register_unsigned (this_frame, SPARC_SP_REGNUM); + addr = get_frame_memory_unsigned (this_frame, sp_addr, 4); for (regnum = SPARC_L0_REGNUM; regnum <= SPARC_I7_REGNUM; regnum++) { -- cgit v1.2.1