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/mn10300-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/mn10300-linux-tdep.c')
-rw-r--r-- | gdb/mn10300-linux-tdep.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/mn10300-linux-tdep.c b/gdb/mn10300-linux-tdep.c index f9bcbf9..570b07d 100644 --- a/gdb/mn10300-linux-tdep.c +++ b/gdb/mn10300-linux-tdep.c @@ -472,7 +472,7 @@ am33_regset_from_core_section (struct gdbarch *gdbarch, static void am33_linux_sigframe_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); @@ -615,23 +615,23 @@ struct sigcontext { static void am33_linux_sigframe_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) { CORE_ADDR sc_base, fpubase; int i; - sc_base = frame_unwind_register_unsigned (next_frame, E_SP_REGNUM); + sc_base = get_frame_register_unsigned (this_frame, E_SP_REGNUM); if (self == &am33_linux_sigframe) { sc_base += 8; - sc_base = get_frame_memory_unsigned (next_frame, sc_base, 4); + sc_base = get_frame_memory_unsigned (this_frame, sc_base, 4); } else { sc_base += 12; - sc_base = get_frame_memory_unsigned (next_frame, sc_base, 4); + sc_base = get_frame_memory_unsigned (this_frame, sc_base, 4); sc_base += 20; } @@ -690,7 +690,7 @@ am33_linux_sigframe_cache_init (const struct tramp_frame *self, trad_frame_set_reg_addr (this_cache, E_PC_REGNUM, sc_base + AM33_SIGCONTEXT_PC); - fpubase = get_frame_memory_unsigned (next_frame, + fpubase = get_frame_memory_unsigned (this_frame, sc_base + AM33_SIGCONTEXT_FPUCONTEXT, 4); if (fpubase) { |