This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [RFA] New solib function: discard all solib symbols.


On Apr 17,  1:49pm, Michael Snyder wrote:

> The purpose of this function is actually for handling shared libs on remote targets, 
> but I figured it might be useful as a user command (complementary to the "sharedlib"
> command which loads all solib symbols).
> 
> 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 looks fine to me with the exception of the following bit...

> +   add_com ("nosharedlibrary", class_files, no_shared_libraries,
> + 	   "Unload all shared object library symbols except .");

I don't understand the "except ." part.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]