aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-11-13 19:06:26 +0000
committerAndrew Cagney <cagney@redhat.com>2003-11-13 19:06:26 +0000
commita8cf2722eab033c833d822db6892038f570303ad (patch)
tree6d6ca21a62084f585e61f02afcf618140ed50528 /gdb/gdbarch.h
parent475b6ddd329a54a32907a55cf4f2efc9013f5973 (diff)
downloadgdb-a8cf2722eab033c833d822db6892038f570303ad.zip
gdb-a8cf2722eab033c833d822db6892038f570303ad.tar.gz
gdb-a8cf2722eab033c833d822db6892038f570303ad.tar.bz2
2003-11-13 Andrew Cagney <cagney@redhat.com>
* arch-utils.h (selected_architecture_name): Declare. (selected_byte_order): Declare. * arch-utils.c (selected_byte_order): New function. (selected_architecture_name): New function. (target_architecture_auto): Make static. (set_architecture_string): Make static. (target_byte_order): Make static. (target_byte_order_auto): Make static. * gdbarch.sh (TARGET_BYTE_ORDER, TARGET_ARCHITECTURE): Delete non-multi-arch definition. (TARGET_ARCHITECTURE_AUTO, TARGET_BYTE_ORDER_AUTO): Delete. (target_byte_order, target_architecture): Delete declaration. (target_byte_order_auto, target_architecture_auto): Ditto. * gdbarch.h: Re-generate. * remote-sim.c (gdbsim_open): Use "selected_architecture_name" and "selected_byte_order".
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r--gdb/gdbarch.h28
1 files changed, 1 insertions, 27 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h
index 3affac5..6901259 100644
--- a/gdb/gdbarch.h
+++ b/gdb/gdbarch.h
@@ -2609,6 +2609,7 @@ extern void set_gdbarch_data (struct gdbarch *gdbarch,
extern void *gdbarch_data (struct gdbarch *gdbarch, struct gdbarch_data *);
+
/* Register per-architecture memory region.
Provide a memory-region swap mechanism. Per-architecture memory
@@ -2627,33 +2628,6 @@ extern void register_gdbarch_swap (void *data, unsigned long size, gdbarch_swap_
-/* The target-system-dependent byte order is dynamic */
-
-extern int target_byte_order;
-#ifndef TARGET_BYTE_ORDER
-#define TARGET_BYTE_ORDER (target_byte_order + 0)
-#endif
-
-extern int target_byte_order_auto;
-#ifndef TARGET_BYTE_ORDER_AUTO
-#define TARGET_BYTE_ORDER_AUTO (target_byte_order_auto + 0)
-#endif
-
-
-
-/* The target-system-dependent BFD architecture is dynamic */
-
-extern int target_architecture_auto;
-#ifndef TARGET_ARCHITECTURE_AUTO
-#define TARGET_ARCHITECTURE_AUTO (target_architecture_auto + 0)
-#endif
-
-extern const struct bfd_arch_info *target_architecture;
-#ifndef TARGET_ARCHITECTURE
-#define TARGET_ARCHITECTURE (target_architecture + 0)
-#endif
-
-
/* Set the dynamic target-system-dependent parameters (architecture,
byte-order, ...) using information found in the BFD */