diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-10-08 12:54:07 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-10-08 12:54:07 +0000 |
commit | c984b7ff5ffc484f7b4b63d54c1c4138e8a48032 (patch) | |
tree | 1a4431d0f82e2ccb7632b3665c7374b6418835e5 /gdb/m68klinux-tdep.c | |
parent | d611717af87a993a03d207a560849637e72d4719 (diff) | |
download | gdb-c984b7ff5ffc484f7b4b63d54c1c4138e8a48032.zip gdb-c984b7ff5ffc484f7b4b63d54c1c4138e8a48032.tar.gz gdb-c984b7ff5ffc484f7b4b63d54c1c4138e8a48032.tar.bz2 |
2007-10-08 Markus Deuling <deuling@de.ibm.com>
* m68k-tdep.c (m68k_register_to_value, m68k_value_to_register)
(m68k_svr4_extract_return_value, m68k_svr4_store_return_value)
(m68k_frame_prev_register, m68k_get_longjmp_target): Use
get_regcache_arch or get_frame_arch to get at the current architecture
by regcache or by frame, respectively.
* m68klinux-tdep.c (m68k_linux_sigtramp_frame_cache): Likewise.
* m68klinux-nat.c (fetch_register, old_fetch_inferior_registers)
(store_register, old_store_inferior_registers, supply_gregset)
(supply_fpregset, fill_fpregset): Likewise.
* m68k-tdep.c (m68k_register_type, m68k_unwind_pc, m68k_dump_tdep):
Replace current_gdbarch by gdbarch.
Diffstat (limited to 'gdb/m68klinux-tdep.c')
-rw-r--r-- | gdb/m68klinux-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/m68klinux-tdep.c b/gdb/m68klinux-tdep.c index 335a650..8677a12 100644 --- a/gdb/m68klinux-tdep.c +++ b/gdb/m68klinux-tdep.c @@ -260,7 +260,7 @@ m68k_linux_sigtramp_frame_cache (struct frame_info *next_frame, { struct frame_id this_id; struct trad_frame_cache *cache; - struct gdbarch_tdep *tdep = gdbarch_tdep (current_gdbarch); + struct gdbarch_tdep *tdep = gdbarch_tdep (get_frame_arch (next_frame)); struct m68k_linux_sigtramp_info info; char buf[4]; int i; |