This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Mon, Nov 10, 2008 at 8:19 PM, Daniel Jacobowitz <drow@false.org> wrote: > On Tue, Nov 11, 2008 at 06:10:46AM +0200, Eli Zaretskii wrote: >> I thought the original patch came with a suggestion to add an option, >> in case user wanted to see these messages. > > OK, I understand now. I'd be fine with the shared library messages > disabled or made consistent under 'set verbose'. I don't think adding > a new option would be great. How about this? I changed the calls to have_{partial,full}_symbols to two new functions objfile_has_{partial,full}_symbols. I think it's TRTTD here. This patch also adds a test for info_verbose so the messages are printed for shared libs if verbosity turned on. 2008-11-20 Doug Evans <dje@google.com> * objfiles.h (objfile_has_partial_symbols): Declare. (objfile_has_full_symbols): Declare. * objfiles.c (objfile_has_partial_symbols): New function. (objfile_has_full_symbols): New function. * symfile.c (symbol_file_add_with_addrs_or_offsets): Only print "no debugging symbols found" for main program, unless the user turns on verbosity.
Attachment:
gdb-081120-symfile-3.patch.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |