This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Fix too many "no debugging symbols found" warnings.
- From: Tom Tromey <tromey at redhat dot com>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org, Doug Evans <dje at google dot com>, Eli Zaretskii <eliz at gnu dot org>
- Date: Fri, 05 Jun 2009 12:17:13 -0600
- Subject: Re: [RFA] Fix too many "no debugging symbols found" warnings.
- References: <20090523232414.BED2B846C2@localhost> <e394668d0905250907r1f978acbs57ad898d5f731189@mail.gmail.com> <m3k53rwxez.fsf@fleche.redhat.com> <200906042221.22713.pedro@codesourcery.com>
- Reply-to: tromey at redhat dot com
>>>>> "Pedro" == Pedro Alves <pedro@codesourcery.com> writes:
Pedro> I also think that only giving the option of quieting symbol
Pedro> loadi g from shared libraries libraries isn't desirable. Take
Pedro> the below example.
Awesome example.
Pedro> In this case, I'd like to have to option of not printing the
Pedro> hundreds of "(no debugging symbols)" found for executables
Pedro> (those are system executables, and I don't have symbols for
Pedro> most of those).
IMO, the ideal would be to share objfiles across inferiors (perhaps a
big task in itself) and then issue this warning at most once per
objfile. That way the user won't see 1000 warnings for /lib/libc.so.
This would be in addition to whatever settings we have for letting the
user control which warnings are emitted at all.
WDYT?
Tom