diff options
author | Michael Snyder <msnyder@specifix.com> | 2001-05-14 18:45:45 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@specifix.com> | 2001-05-14 18:45:45 +0000 |
commit | 1e91ed74a732b161528f5fc0991ca697c8733a3d (patch) | |
tree | 39045731f3cf1ecafa78624202047dc0ddf040f4 /gdb/solib.c | |
parent | b60d4ac3618424dbc6689bdc86ff0d2a67389f1e (diff) | |
download | gdb-1e91ed74a732b161528f5fc0991ca697c8733a3d.tar.gz |
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.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/solib.c b/gdb/solib.c index 8da44df11a9..370f814e435 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) { |