2007-10-08 Markus Deuling <deuling@de.ibm.com>
authorUlrich Weigand <uweigand@de.ibm.com>
Mon, 8 Oct 2007 12:54:07 +0000 (12:54 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Mon, 8 Oct 2007 12:54:07 +0000 (12:54 +0000)
commitc984b7ff5ffc484f7b4b63d54c1c4138e8a48032
tree1a4431d0f82e2ccb7632b3665c7374b6418835e5
parentd611717af87a993a03d207a560849637e72d4719
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.
gdb/ChangeLog
gdb/m68k-tdep.c
gdb/m68klinux-nat.c
gdb/m68klinux-tdep.c