aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-darwin.c
diff options
context:
space:
mode:
authorPhilipp Rudo <prudo@linux.vnet.ibm.com>2016-10-21 12:32:52 +0200
committerAndreas Arnez <arnez@linux.vnet.ibm.com>2016-10-21 12:32:52 +0200
commit4db41a0a1097860d1e0d3b8ecf6c01dbbb65ba5a (patch)
tree9bec685ca55fba650da6e99a2c6e59f7b3f90f3a /gdb/solib-darwin.c
parent16017f1915d15d0ec8a6fae02b137a6b50d96e63 (diff)
downloadgdb-4db41a0a1097860d1e0d3b8ecf6c01dbbb65ba5a.zip
gdb-4db41a0a1097860d1e0d3b8ecf6c01dbbb65ba5a.tar.gz
gdb-4db41a0a1097860d1e0d3b8ecf6c01dbbb65ba5a.tar.bz2
Delete target_so_ops->special_symbol_handling hook
No one(!) actually implements this hook. So simply delete it. gdb/ChangeLog: * solist.h (struct target_so_ops): Delete special_symbol_handling hook. * solib.c (solib_add, reload_shared_libraries): Adjust. * solib-aix.c (solib_aix_special_symbol_handling): Delete (_initialize_solib_aix): Adjust * solib-darwin.c (darwin_special_symbol_handling): Delete (_initialize_darwin_solib): Adjust * solib-dsbt.c (dsbt_special_symbol_handling): Delete (_initialize_dsbt_solib): Adjust * solib-frv.c (frv_special_symbol_handling): Delete (_initialize_frv_solib): Adjust * solib-svr4.c (svr4_special_symbol_handling): Delete (_initialize_svr4_solib): Adjust * solib-target.c (solib_target_special_symbol_handling): Delete (_initialize_solib_target): Adjust
Diffstat (limited to 'gdb/solib-darwin.c')
-rw-r--r--gdb/solib-darwin.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gdb/solib-darwin.c b/gdb/solib-darwin.c
index cd5dc8d..24cf848 100644
--- a/gdb/solib-darwin.c
+++ b/gdb/solib-darwin.c
@@ -423,14 +423,6 @@ darwin_in_dynsym_resolve_code (CORE_ADDR pc)
return 0;
}
-
-/* No special symbol handling. */
-
-static void
-darwin_special_symbol_handling (void)
-{
-}
-
/* A wrapper for bfd_mach_o_fat_extract that handles reference
counting properly. This will either return NULL, or return a new
reference to a BFD. */
@@ -693,7 +685,6 @@ _initialize_darwin_solib (void)
darwin_so_ops.free_so = darwin_free_so;
darwin_so_ops.clear_solib = darwin_clear_solib;
darwin_so_ops.solib_create_inferior_hook = darwin_solib_create_inferior_hook;
- darwin_so_ops.special_symbol_handling = darwin_special_symbol_handling;
darwin_so_ops.current_sos = darwin_current_sos;
darwin_so_ops.open_symbol_file_object = open_symbol_file_object;
darwin_so_ops.in_dynsym_resolve_code = darwin_in_dynsym_resolve_code;