aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib.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.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.c')
-rw-r--r--gdb/solib.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/solib.c b/gdb/solib.c
index 2235505..b8c2b42 100644
--- a/gdb/solib.c
+++ b/gdb/solib.c
@@ -1038,13 +1038,9 @@ solib_add (const char *pattern, int from_tty,
if (loaded_any_symbols)
{
- const struct target_so_ops *ops = solib_ops (target_gdbarch ());
-
/* Getting new symbols may change our opinion about what is
frameless. */
reinit_frame_cache ();
-
- ops->special_symbol_handling ();
}
}
}
@@ -1468,8 +1464,6 @@ reload_shared_libraries (char *ignored, int from_tty,
structures that are now freed. Also, getting new symbols may
change our opinion about what is frameless. */
reinit_frame_cache ();
-
- ops->special_symbol_handling ();
}
/* Wrapper for reload_shared_libraries that replaces "remote:"