diff options
author | Mark Kettenis <kettenis@gnu.org> | 2005-04-30 12:59:57 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2005-04-30 12:59:57 +0000 |
commit | 66aba65dca9116ffc223470363056b5ed7cde8e9 (patch) | |
tree | b93554f66b109d30967ce848c1cb767009de7b65 /gdb/solist.h | |
parent | 7b51f1082c52c7cd5f7da21655addcd4ae0f8f5e (diff) | |
download | gdb-66aba65dca9116ffc223470363056b5ed7cde8e9.zip gdb-66aba65dca9116ffc223470363056b5ed7cde8e9.tar.gz gdb-66aba65dca9116ffc223470363056b5ed7cde8e9.tar.bz2 |
* solist.h (TARGET_SO_FREE_SO, TARGET_SO_CLEAR_SOLIB)
(TARGET_SO_SOLIB_CREATE_INFERIOR_HOOK)
(TARGET_SO_SPECIAL_SYMBOL_HANDLING, TARGET_SO_CURRENT_SOS)
(TARGET_SO_OPEN_SYMBOL_FILE_OBJECT): Remove defines.
* solib.c (solib_data): New variable.
(solib_init, solib_ops): New functions.
(solib_open, solib_map_sections, free_so, update_solib_list)
(solib_add, clear_solib, solib_create_inferior_hook)
(in_solib_dynsym_resolve_code): Call architecture-dependent code
using solib_ops.
(_initialize_solib): Register SOLIB_DATA.
Diffstat (limited to 'gdb/solist.h')
-rw-r--r-- | gdb/solist.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/gdb/solist.h b/gdb/solist.h index 439e08a..1cb1738 100644 --- a/gdb/solist.h +++ b/gdb/solist.h @@ -121,18 +121,9 @@ extern struct target_so_ops *current_target_so_ops; #define TARGET_SO_RELOCATE_SECTION_ADDRESSES \ (current_target_so_ops->relocate_section_addresses) -#define TARGET_SO_FREE_SO (current_target_so_ops->free_so) -#define TARGET_SO_CLEAR_SOLIB (current_target_so_ops->clear_solib) -#define TARGET_SO_SOLIB_CREATE_INFERIOR_HOOK \ - (current_target_so_ops->solib_create_inferior_hook) -#define TARGET_SO_SPECIAL_SYMBOL_HANDLING \ - (current_target_so_ops->special_symbol_handling) -#define TARGET_SO_CURRENT_SOS (current_target_so_ops->current_sos) -#define TARGET_SO_OPEN_SYMBOL_FILE_OBJECT \ - (current_target_so_ops->open_symbol_file_object) -#define TARGET_SO_IN_DYNSYM_RESOLVE_CODE \ - (current_target_so_ops->in_dynsym_resolve_code) #define TARGET_SO_FIND_AND_OPEN_SOLIB \ (current_target_so_ops->find_and_open_solib) +#define TARGET_SO_IN_DYNSYM_RESOLVE_CODE \ + (current_target_so_ops->in_dynsym_resolve_code) #endif |