New option "set print symbol-loading".
authorDoug Evans <dje@google.com>
Mon, 31 Mar 2014 19:07:48 +0000 (12:07 -0700)
committerDoug Evans <dje@google.com>
Mon, 31 Mar 2014 19:07:48 +0000 (12:07 -0700)
commit770e7fc78c3c94195cacf2d7698a252d410886a1
tree665ce89a8c46f3a619e945f5c90cdffe21157aea
parent76f0cad6f4e0fdfc4cfeee135b44b6a090919c60
New option "set print symbol-loading".

* NEWS: Mention it.
* solib.c (solib_read_symbols): Only print symbol loading messages
if requested.
(solib_add): If symbol loading is in "brief" mode, notify user
symbols are being loaded.
(reload_shared_libraries_1): Ditto.
* symfile.c (print_symbol_loading_off): New static global.
(print_symbol_loading_brief): New static global.
(print_symbol_loading_full): New static global.
(print_symbol_loading_enums): New static global.
(print_symbol_loading): New static global.
(print_symbol_loading_p): New function.
(symbol_file_add_with_addrs): Only print symbol loading messages
if requested.
(_initialize_symfile): Register "print symbol-loading" set/show
command.
* symfile.h (print_symbol_loading_p): Declare.

doc/
* gdb.texinfo (Symbols): Document set/show print symbol-loading.

testsuite/
* gdb.base/print-symbol-loading-lib.c: New file.
* gdb.base/print-symbol-loading-main.c: New file.
* gdb.base/print-symbol-loading.exp: New file.
gdb/ChangeLog
gdb/NEWS
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/solib.c
gdb/symfile.c
gdb/symfile.h
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/print-symbol-loading-lib.c [new file with mode: 0644]
gdb/testsuite/gdb.base/print-symbol-loading-main.c [new file with mode: 0644]
gdb/testsuite/gdb.base/print-symbol-loading.exp [new file with mode: 0644]
This page took 0.043979 seconds and 4 git commands to generate.