From 171efac31bd403eca5fc882b1c992c72ba212858 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Thu, 10 Jul 2008 23:08:21 +0000 Subject: 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". --- gdb/doc/ChangeLog | 4 ++++ gdb/doc/gdb.texinfo | 16 ++++++++++++++++ 2 files changed, 20 insertions(+) (limited to 'gdb/doc') 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 + + * doc/gdb.texinfo: Document "set print symbol-loading on|off". + 2008-07-10 Jan Kratochvil * 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 -- cgit v1.2.1