This is the mail archive of the
mailing list for the GDB project.
Re: too many "no debugging symbols found" messages from shared libs
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Doug Evans <dje at google dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 29 Oct 2008 21:04:28 -0700
- Subject: Re: too many "no debugging symbols found" messages from shared libs
- References: <20081003213402.7739F1C78EB@localhost>
> An alternative patch would be to at least include the file name
> in the message. But if we do want to print this message for shared-libs
> why should it be predicated on whether the main program is stripped or not?
I have to agree that the current situation is confusing. Before looking
at the patch itself, the first thing is to agree on what the debugger
should be doing at the user level. Perhaps there was a logic behind
the current implementation that we're not seeing yet.
IMO, a shared library without debugging symbol is a common and perfectly
normal occurrence, and thus does not deserve a warning - at least not
by default, particularly when the number of SOs becomes large. So I
would have to agree with the suggested patch.
What do others think?