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
|
@ -203,7 +203,8 @@ procfs_open (char *arg, int from_tty)
|
|||
else
|
||||
{
|
||||
if (sysinfo->type !=
|
||||
nto_map_arch_to_cputype (TARGET_ARCHITECTURE->arch_name))
|
||||
nto_map_arch_to_cputype (gdbarch_bfd_arch_info
|
||||
(current_gdbarch)->arch_name))
|
||||
{
|
||||
close (fd);
|
||||
error (_("Invalid target CPU."));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue