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 | e2eda8a68e85639775da4e1d22586a767a8ac332 (patch) | |
tree | 80f6d962e7c79b9c95331c39c3543f015e50a2b0 /gdb/remote-mips.c | |
parent | 0b69ed24cdb63deaf24b6135ace4edbae8e1eff4 (diff) | |
download | gdb-e2eda8a68e85639775da4e1d22586a767a8ac332.tar.gz |
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/remote-mips.c')
-rw-r--r-- | gdb/remote-mips.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c index c01cae0eefa..a5f3cbf94a6 100644 --- a/gdb/remote-mips.c +++ b/gdb/remote-mips.c @@ -1594,10 +1594,10 @@ static void mips_open (char *name, int from_tty) { const char *monitor_prompt = NULL; - if (TARGET_ARCHITECTURE != NULL - && TARGET_ARCHITECTURE->arch == bfd_arch_mips) + if (gdbarch_bfd_arch_info (current_gdbarch) != NULL + && gdbarch_bfd_arch_info (current_gdbarch)->arch == bfd_arch_mips) { - switch (TARGET_ARCHITECTURE->mach) + switch (gdbarch_bfd_arch_info (current_gdbarch)->mach) { case bfd_mach_mips4100: case bfd_mach_mips4300: |