From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Snyder To: Kevin Buettner Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] New solib function: discard all solib symbols. Date: Tue, 17 Apr 2001 14:35:00 -0000 Message-id: <3ADCB716.F09D87DC@cygnus.com> References: <3ADCAC58.39B9F204@cygnus.com> <1010417211529.ZM1447@ocotillo.lan> X-SW-Source: 2001-04/msg00179.html Kevin Buettner wrote: > > 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 > > > > * 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. Oops. Sorry, meant to take that out. I'll check it in after cleanup.