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.
This commit is contained in:
parent
4fe99ffbcc
commit
1143fffb92
10 changed files with 39 additions and 35 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue