aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2001-05-14 18:45:45 +0000
committerMichael Snyder <msnyder@vmware.com>2001-05-14 18:45:45 +0000
commitcb0ba49e37b824e23fe9ff24f07c008e74a6a382 (patch)
tree8cbc3f3b780c38d682d808535b60787dd7e1ac82 /gdb/solib.c
parent2644f3936c09e5883f8547c6b577fec9dd49b9a9 (diff)
downloadgdb-cb0ba49e37b824e23fe9ff24f07c008e74a6a382.zip
gdb-cb0ba49e37b824e23fe9ff24f07c008e74a6a382.tar.gz
gdb-cb0ba49e37b824e23fe9ff24f07c008e74a6a382.tar.bz2
2001-05-14 Michael Snyder <msnyder@redhat.com>
* solib.c, solib.h: Add comment for function no_shared_libraries.
Diffstat (limited to 'gdb/solib.c')
-rw-r--r--gdb/solib.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/solib.c b/gdb/solib.c
index 8da44df..370f814 100644
--- a/gdb/solib.c
+++ b/gdb/solib.c
@@ -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)
{