diff options
author | Doug Evans <dje@google.com> | 2008-07-10 23:08:21 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2008-07-10 23:08:21 +0000 |
commit | 171efac31bd403eca5fc882b1c992c72ba212858 (patch) | |
tree | 127146ab25e0d928de9fe421cda0bef211e7d789 /gdb/doc | |
parent | 85fdbde9dfc62928a36ece6c53a42b59e28b31e7 (diff) | |
download | gdb-171efac31bd403eca5fc882b1c992c72ba212858.tar.gz |
Add "set print symbol-loading on|off".
* NEWS: Document new option.
* symfile.h (print_symbol_loading): Declare.
* symfile.c (print_symbol_loading): New global.
(symbol_file_add_with_addrs_or_offsets): Only print "Reading symbols
from ..." if print_symbol_loading.
(_initialize_symfile): Add set/show print symbol-loading.
* solib.c (solib_read_symbols): Only print "Loaded symbols for ..."
if print_symbol_loading.
* doc/gdb.texinfo: Document "set print symbol-loading on|off".
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 16 |
2 files changed, 20 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 182b9dc4c2b..8786b4aeac7 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +2008-07-10 Doug Evans <dje@google.com> + + * doc/gdb.texinfo: Document "set print symbol-loading on|off". + 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com> * gdb.texinfo (Starting): Document "set disable-randomization". diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 710b96b7c0e..2920179533c 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -11533,6 +11533,22 @@ is printed as follows: @item show opaque-type-resolution Show whether opaque types are resolved or not. +@kindex set print symbol-loading +@cindex print messages when symbols are loaded +@item set print symbol-loading +@itemx set print symbol-loading on +@itemx set print symbol-loading off +The @code{set print symbol-loading} command allows you to enable or +disable printing of messages when @value{GDBN} loads symbols. +By default, these messages will be printed, and normally this is what +you want. Disabling these messages is useful when debugging applications +with lots of shared libraries where the quantity of output can be more +annoying than useful. + +@kindex show print symbol-loading +@item show print symbol-loading +Show whether messages will be printed when @value{GDBN} loads symbols. + @kindex maint print symbols @cindex symbol dump @kindex maint print psymbols |