Add "set print symbol-loading on|off".
authorDoug Evans <dje@google.com>
Thu, 10 Jul 2008 23:08:21 +0000 (23:08 +0000)
committerDoug Evans <dje@google.com>
Thu, 10 Jul 2008 23:08:21 +0000 (23:08 +0000)
commitbf250677afabbf59fee4ab3e1a96ffa7ddff2146
treee6b0011aeaa1b0eca2e3bd6704cb55eaf1911526
parentef9beddf72634055b25a631850464a701599585c
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/ChangeLog
gdb/NEWS
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/solib.c
gdb/symfile.c
gdb/symfile.h