2001-05-14 Michael Snyder <msnyder@redhat.com>
authorMichael Snyder <msnyder@vmware.com>
Mon, 14 May 2001 18:45:45 +0000 (18:45 +0000)
committerMichael Snyder <msnyder@vmware.com>
Mon, 14 May 2001 18:45:45 +0000 (18:45 +0000)
        * solib.c, solib.h: Add comment for function no_shared_libraries.

gdb/ChangeLog
gdb/solib.c
gdb/solib.h

index 101954b58ed76b69f1ac88f47c1ee7715ac574bf..5c88973dd80660e661204dba6146c2dfe9097afe 100644 (file)
@@ -1,5 +1,6 @@
 2001-05-14  Michael Snyder  <msnyder@redhat.com>
 
+       * solib.c, solib.h: Add comment for function no_shared_libraries.
        * remote.c (remote_write_bytes): Set nr_bytes to return value of
        bin2hex.
        
index 8da44df11a902627b67beffed60134737ba1b5e3..370f814e435c62baeea27b460345383d56ef6bf4 100644 (file)
@@ -809,6 +809,18 @@ sharedlibrary_command (char *args, int from_tty)
   solib_add (args, from_tty, (struct target_ops *) 0);
 }
 
+/* LOCAL FUNCTION
+
+   no_shared_libraries -- handle command to explicitly discard symbols
+   from shared libraries.
+
+   DESCRIPTION
+
+   Implements the command "nosharedlibrary", which discards symbols
+   that have been auto-loaded from shared libraries.  Symbols from
+   shared libraries that were added by explicit request of the user
+   are not discarded.  Also called from remote.c.  */
+
 void
 no_shared_libraries (char *ignored, int from_tty)
 {
index 2da8460150d2127005f766b28b88ccd9cfc0cef6..56a4a400cf8fca2a80bad70c4155657dce676bb0 100644 (file)
@@ -194,4 +194,6 @@ extern char *solib_address (CORE_ADDR);     /* solib.c */
 
 extern int in_solib_dynsym_resolve_code (CORE_ADDR);   /* solib.c */
 
+/* Discard symbols that were auto-loaded from shared libraries. */
+
 extern void no_shared_libraries (char *ignored, int from_tty);
This page took 0.044599 seconds and 4 git commands to generate.