aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.h
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-06-09 13:59:42 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-06-09 13:59:42 +0000
commit985969a94f02c64a2e8ff4b0afd8378ed09fca5e (patch)
treedd8aecb8fa86259f3e4c6ba1e019613851e5c3e1 /gdb/gdbarch.h
parentb798847d060c439bc350e5fbaf6e8d315b18c727 (diff)
downloadgdb-985969a94f02c64a2e8ff4b0afd8378ed09fca5e.zip
gdb-985969a94f02c64a2e8ff4b0afd8378ed09fca5e.tar.gz
gdb-985969a94f02c64a2e8ff4b0afd8378ed09fca5e.tar.bz2
2007-06-09 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (FETCH_TLS_LOAD_MODULE_ADDRESS): Replace by gdbarch_fetch_tls_load_module_address. * gdbarch.sh (FETCH_TLS_LOAD_MODULE_ADDRESS_P): Replace by gdbarch_fetch_tls_load_module_address_p. * gdbarch.c, gdbarch.h: 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 e195f8a..c1e9d6e 100644
--- a/gdb/gdbarch.h
+++ b/gdb/gdbarch.h
@@ -745,30 +745,11 @@ extern void set_gdbarch_remote_register_number (struct gdbarch *gdbarch, gdbarch
/* Fetch the target specific address used to represent a load module. */
-#if defined (FETCH_TLS_LOAD_MODULE_ADDRESS)
-/* Legacy for systems yet to multi-arch FETCH_TLS_LOAD_MODULE_ADDRESS */
-#if !defined (FETCH_TLS_LOAD_MODULE_ADDRESS_P)
-#define FETCH_TLS_LOAD_MODULE_ADDRESS_P() (1)
-#endif
-#endif
-
extern int gdbarch_fetch_tls_load_module_address_p (struct gdbarch *gdbarch);
-#if !defined (GDB_TM_FILE) && defined (FETCH_TLS_LOAD_MODULE_ADDRESS_P)
-#error "Non multi-arch definition of FETCH_TLS_LOAD_MODULE_ADDRESS"
-#endif
-#if !defined (FETCH_TLS_LOAD_MODULE_ADDRESS_P)
-#define FETCH_TLS_LOAD_MODULE_ADDRESS_P() (gdbarch_fetch_tls_load_module_address_p (current_gdbarch))
-#endif
typedef CORE_ADDR (gdbarch_fetch_tls_load_module_address_ftype) (struct objfile *objfile);
extern CORE_ADDR gdbarch_fetch_tls_load_module_address (struct gdbarch *gdbarch, struct objfile *objfile);
extern void set_gdbarch_fetch_tls_load_module_address (struct gdbarch *gdbarch, gdbarch_fetch_tls_load_module_address_ftype *fetch_tls_load_module_address);
-#if !defined (GDB_TM_FILE) && defined (FETCH_TLS_LOAD_MODULE_ADDRESS)
-#error "Non multi-arch definition of FETCH_TLS_LOAD_MODULE_ADDRESS"
-#endif
-#if !defined (FETCH_TLS_LOAD_MODULE_ADDRESS)
-#define FETCH_TLS_LOAD_MODULE_ADDRESS(objfile) (gdbarch_fetch_tls_load_module_address (current_gdbarch, objfile))
-#endif
extern CORE_ADDR gdbarch_frame_args_skip (struct gdbarch *gdbarch);
extern void set_gdbarch_frame_args_skip (struct gdbarch *gdbarch, CORE_ADDR frame_args_skip);