summaryrefslogtreecommitdiffstats
path: root/gdb/gdbarch.h
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-06-22 12:45:38 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-06-22 12:45:38 +0000
commite487cc15a42e5089c73e2c642241655240a52657 (patch)
tree80d9ce170591105ddb83389afbd17a9cf0a86fc1 /gdb/gdbarch.h
parentd5c314579277bf073441af801bb40c3ff7e33f7b (diff)
downloadppe42-binutils-e487cc15a42e5089c73e2c642241655240a52657.tar.gz
ppe42-binutils-e487cc15a42e5089c73e2c642241655240a52657.zip
* gdbarch.sh (gdbarch_swap_ftype, deprecated_register_gdbarch_swap,
DEPRECATED_REGISTER_GDBARCH_SWAP): Remove. (struct gdbarch_swap, struct gdbarch_swap_registration, struct gdbarch_swap_registry, gdbarch_swap_registry, current_gdbarch_swap_init_hack, current_gdbarch_swap_out_hack, current_gdbarch_swap_in_hack): Remove. (find_arch_by_info): Do not call current_gdbarch_swap_init_hack. (gdbarch_find_by_info): Do not call current_gdbarch_swap_in_hack and current_gdbarch_swap_out_hack, update current_gdbarch directly. (deprecated_current_gdbarch_select_hack): Likewise. * gdbarch.h, gdbarch.c: Regenerate.
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r--gdb/gdbarch.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h
index 1c73da2919..b9b2ae926f 100644
--- a/gdb/gdbarch.h
+++ b/gdb/gdbarch.h
@@ -900,25 +900,6 @@ extern void deprecated_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
- region are created. These memory regions are swapped whenever the
- architecture is changed. For a new architecture, the memory region
- is initialized with zero (0) and the INIT function is called.
-
- Memory regions are swapped / initialized in the order that they are
- registered. NULL DATA and/or INIT values can be specified.
-
- New code should use gdbarch_data_register_*(). */
-
-typedef void (gdbarch_swap_ftype) (void);
-extern void deprecated_register_gdbarch_swap (void *data, unsigned long size, gdbarch_swap_ftype *init);
-#define DEPRECATED_REGISTER_GDBARCH_SWAP(VAR) deprecated_register_gdbarch_swap (&(VAR), sizeof ((VAR)), NULL)
-
-
-
/* Set the dynamic target-system-dependent parameters (architecture,
byte-order, ...) using information found in the BFD */
OpenPOWER on IntegriCloud