2001-04-17 Michael Snyder <msnyder@redhat.com>
* solib.c (no_shared_libraries): New function. Discard all symbols from shared libraries. (_initialize_solib): Add command "nosharedlibrary" as complement to the command "sharedlibrary". Unloads symbols for all solibs.
This commit is contained in:
parent
ed84f6c149
commit
c60a7562e3
2 changed files with 15 additions and 0 deletions
|
@ -5,6 +5,13 @@
|
|||
of i386_saved_pc_after_call.
|
||||
(i386_saved_pc_after_call): New prototype.
|
||||
|
||||
2001-04-17 Michael Snyder <msnyder@redhat.com>
|
||||
|
||||
* solib.c (no_shared_libraries): New function. Discard all symbols
|
||||
from shared libraries.
|
||||
(_initialize_solib): Add command "nosharedlibrary" as complement
|
||||
to the command "sharedlibrary". Unloads symbols for all solibs.
|
||||
|
||||
2001-04-16 Andrew Cagney <ac131313@redhat.com>
|
||||
|
||||
* configure.host (m68030-sony-*, m68*-isi-*, m68*-sony-*):
|
||||
|
|
|
@ -809,6 +809,12 @@ sharedlibrary_command (char *args, int from_tty)
|
|||
solib_add (args, from_tty, (struct target_ops *) 0);
|
||||
}
|
||||
|
||||
void
|
||||
no_shared_libraries (char *ignored, int from_tty)
|
||||
{
|
||||
objfile_purge_solibs ();
|
||||
do_clear_solib (NULL);
|
||||
}
|
||||
|
||||
void
|
||||
_initialize_solib (void)
|
||||
|
@ -819,6 +825,8 @@ _initialize_solib (void)
|
|||
"Load shared object library symbols for files matching REGEXP.");
|
||||
add_info ("sharedlibrary", info_sharedlibrary_command,
|
||||
"Status of loaded shared object libraries.");
|
||||
add_com ("nosharedlibrary", class_files, no_shared_libraries,
|
||||
"Unload all shared object library symbols except .");
|
||||
|
||||
add_show_from_set
|
||||
(add_set_cmd ("auto-solib-add", class_support, var_zinteger,
|
||||
|
|
Loading…
Reference in a new issue