forked from Imagelibrary/binutils-gdb
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
This commit is contained in:
committed by
Andreas Arnez
parent
16017f1915
commit
4db41a0a10
@@ -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:"
|
||||
|
||||
Reference in New Issue
Block a user