aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.h
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-06-13 17:53:51 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-06-13 17:53:51 +0000
commit1143fffb920d9d9995854541dae2c8f6add8387a (patch)
tree82dcc04e158bcd1a37c3d0d6b1982e7cb5d6e0d2 /gdb/gdbarch.h
parent4fe99ffbcc277eb81e708a29fe199c383c399a8d (diff)
downloadgdb-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/gdbarch.h')
-rw-r--r--gdb/gdbarch.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h
index e5fcc7b..ff52b36 100644
--- a/gdb/gdbarch.h
+++ b/gdb/gdbarch.h
@@ -60,12 +60,6 @@ extern struct gdbarch *current_gdbarch;
extern const struct bfd_arch_info * gdbarch_bfd_arch_info (struct gdbarch *gdbarch);
/* set_gdbarch_bfd_arch_info() - not applicable - pre-initialized. */
-#if !defined (GDB_TM_FILE) && defined (TARGET_ARCHITECTURE)
-#error "Non multi-arch definition of TARGET_ARCHITECTURE"
-#endif
-#if !defined (TARGET_ARCHITECTURE)
-#define TARGET_ARCHITECTURE (gdbarch_bfd_arch_info (current_gdbarch))
-#endif
extern int gdbarch_byte_order (struct gdbarch *gdbarch);
/* set_gdbarch_byte_order() - not applicable - pre-initialized. */