* m68hc11-tdep.c (gdb_print_insn_m68hc11): Use info->arch
authorUlrich Weigand <uweigand@de.ibm.com>
Fri, 5 Sep 2008 11:43:10 +0000 (11:43 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Fri, 5 Sep 2008 11:43:10 +0000 (11:43 +0000)
commit9dae60cc0317e3513440a19431976e25f768427d
treeb45d6b179c951a00651568dec9c88e1e26abda96
parent24568a2cd9b1422f582b6f9c004ebd67ffadcb90
* m68hc11-tdep.c (gdb_print_insn_m68hc11): Use info->arch
instead of current_gdbarch.

* sh64-tdep.c (gdb_print_insn_sh64): Remove.
(sh64_gdbarch_init): Install print_insn_sh64 directly.
* sh-tdep.c (gdb_print_insn_sh): Remove.
(sh_gdbarch_init): Install print_insn_sh directly.

* mips-tdep.c (gdb_print_insn_mips): Do not check mips_abi
from current_gdbarch.
(gdb_print_insn_mips_n32, gdb_print_insn_mips_n64): New functions.
(mips_gdbarch_init): Install them instead of gdb_print_insn_mips
depending on mips_abi.
gdb/ChangeLog
gdb/m68hc11-tdep.c
gdb/mips-tdep.c
gdb/sh-tdep.c
gdb/sh64-tdep.c