aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-svr4.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-svr4.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-svr4.c')
-rw-r--r--gdb/solib-svr4.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c
index fe36d45..258d7dc 100644
--- a/gdb/solib-svr4.c
+++ b/gdb/solib-svr4.c
@@ -2552,14 +2552,6 @@ enable_break (struct svr4_info *info, int from_tty)
return 0;
}
-/* Implement the "special_symbol_handling" target_so_ops method. */
-
-static void
-svr4_special_symbol_handling (void)
-{
- /* Nothing to do. */
-}
-
/* Read the ELF program headers from ABFD. Return the contents and
set *PHDRS_SIZE to the size of the program headers. */
@@ -3327,7 +3319,6 @@ _initialize_svr4_solib (void)
svr4_so_ops.clear_so = svr4_clear_so;
svr4_so_ops.clear_solib = svr4_clear_solib;
svr4_so_ops.solib_create_inferior_hook = svr4_solib_create_inferior_hook;
- svr4_so_ops.special_symbol_handling = svr4_special_symbol_handling;
svr4_so_ops.current_sos = svr4_current_sos;
svr4_so_ops.open_symbol_file_object = open_symbol_file_object;
svr4_so_ops.in_dynsym_resolve_code = svr4_in_dynsym_resolve_code;