From 1143fffb920d9d9995854541dae2c8f6add8387a Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Wed, 13 Jun 2007 17:53:51 +0000 Subject: 2007-06-13 Markus Deuling * gdbarch.sh (TARGET_ARCHITECTURE): Replace by gdbarch_bfd_arch_info. * arch-utils.c (show_architecture): Likewise. * remote-mips.c (mips_open): Likewise * nto-tdep.c (nto_find_and_open_solib) (nto_init_solib_absolute_prefix): Likewise. * nto-procfs (procfs_open): Likewise. * m68hc11-tdep.c (gdb_print_insn_m68hc11): Likewise. * gcore.c (default_gcore_mach, default_gcore_arch): Likewise. * gdbarch.c, gdbarch.h: Regenerate. --- gdb/m68hc11-tdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/m68hc11-tdep.c') diff --git a/gdb/m68hc11-tdep.c b/gdb/m68hc11-tdep.c index 0e8c5121518..dce1df2248d 100644 --- a/gdb/m68hc11-tdep.c +++ b/gdb/m68hc11-tdep.c @@ -1350,7 +1350,7 @@ m68hc11_elf_make_msymbol_special (asymbol *sym, struct minimal_symbol *msym) static int gdb_print_insn_m68hc11 (bfd_vma memaddr, disassemble_info *info) { - if (TARGET_ARCHITECTURE->arch == bfd_arch_m68hc11) + if (gdbarch_bfd_arch_info (current_gdbarch)->arch == bfd_arch_m68hc11) return print_insn_m68hc11 (memaddr, info); else return print_insn_m68hc12 (memaddr, info); -- cgit v1.2.1