diff options
author | Doug Evans <dje@google.com> | 2009-08-27 21:56:38 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2009-08-27 21:56:38 +0000 |
commit | 55333a841d32ff6f428ef0b4ad7a615e0774db38 (patch) | |
tree | faa3c9d6c4341a5269bba93a62f96f1468760b0a /gdb/doc | |
parent | b96fec5e9946372e442ab5fac1e3af11f4cc48ad (diff) | |
download | gdb-55333a841d32ff6f428ef0b4ad7a615e0774db38.zip gdb-55333a841d32ff6f428ef0b4ad7a615e0774db38.tar.gz gdb-55333a841d32ff6f428ef0b4ad7a615e0774db38.tar.bz2 |
* NEWS: Add note on "info sharedlibrary".
Remove note on "set print symbol-loading".
* main.c (captured_main): Pass !batch for from_tty when calling
symbol_file_add_main.
* objfiles.h (objfile_has_partial_symbols): Declare.
(objfile_has_full_symbols): Declare.
* objfiles.c (objfile_has_partial_symbols): New function.
(have_partial_symbols): Use it.
(objfile_has_full_symbols): New function.
(have_full_symbols): Use it.
* solib.c: Include interps.h.
(solib_read_symbols): Back out patch of 2008-07-10.
Add test for info_verbose for symbol loading messages for
consistency with symfile.c.
(info_sharedlibrary_command): Handle optional parameter of regex of
libraries to list. Inform user of libraries without debugging info.
Rewrite to use ui_out routines to format output.
* symfile.c (print_symbol_loading): Delete.
(symbol_file_add_with_addrs_or_offsets): Back out patch of 2008-07-10.
Print "no debugging symbols found" only if from_tty || info_verbose;
and only check file being loaded, not all files.
(reread_symbols): Test file being loaded for whether it has symbols,
not all files.
(__initialize_symfile): Delete `set print symbol-loading'.
* symfile.h (print_symbol_loading): Delete.
* doc/gdb.texinfo (Symbols): Delete `set print symbol-loading'.
(Files): Add note on new optional regex arg to `info sharedlibrary'.
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 24 |
2 files changed, 10 insertions, 19 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 3e1f55c..3423ee2 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2009-08-27 Doug Evans <dje@google.com> + + * gdb.texinfo (Symbols): Delete `set print symbol-loading'. + (Files): Add note on new optional regex arg to `info sharedlibrary'. + 2009-08-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * gdbint.texinfo (Releasing GDB): Fix confusing sentence diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index df88db7..cc66d12 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -12637,22 +12637,6 @@ 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 @@ -13525,9 +13509,11 @@ command: @table @code @kindex info sharedlibrary @kindex info share -@item info share -@itemx info sharedlibrary -Print the names of the shared libraries which are currently loaded. +@item info share @var{regex} +@itemx info sharedlibrary @var{regex} +Print the names of the shared libraries which are currently loaded +that match @var{regex}. If @var{regex} is omitted then print +all shared libraries that are loaded. @kindex sharedlibrary @kindex share |