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-*):
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)
"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,