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]

Re: [RFA] Fix too many "no debugging symbols found" warnings.


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]