diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-13 17:53:51 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-13 17:53:51 +0000 |
commit | 1143fffb920d9d9995854541dae2c8f6add8387a (patch) | |
tree | 82dcc04e158bcd1a37c3d0d6b1982e7cb5d6e0d2 /gdb/m68hc11-tdep.c | |
parent | 4fe99ffbcc277eb81e708a29fe199c383c399a8d (diff) | |
download | gdb-1143fffb920d9d9995854541dae2c8f6add8387a.zip gdb-1143fffb920d9d9995854541dae2c8f6add8387a.tar.gz gdb-1143fffb920d9d9995854541dae2c8f6add8387a.tar.bz2 |
2007-06-13 Markus Deuling <deuling@de.ibm.com>
* 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.
Diffstat (limited to 'gdb/m68hc11-tdep.c')
-rw-r--r-- | gdb/m68hc11-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/m68hc11-tdep.c b/gdb/m68hc11-tdep.c index 0e8c512..dce1df2 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); |