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/sparc-linux-tdep.c | |
parent | b8a22b9440a7d7acb3944b4c501184a1efc8ea3d (diff) | |
download | gdb-5366653e67978dff4051cd8b5326cafd088776f5.zip gdb-5366653e67978dff4051cd8b5326cafd088776f5.tar.gz gdb-5366653e67978dff4051cd8b5326cafd088776f5.tar.bz2 |
* 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/sparc-linux-tdep.c')
-rw-r--r-- | gdb/sparc-linux-tdep.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/sparc-linux-tdep.c b/gdb/sparc-linux-tdep.c index 23c1f23..858d0ce 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++) { |