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: too many "no debugging symbols found" messages from shared libs


> Date: Mon, 10 Nov 2008 09:45:28 -0500
> From: Daniel Jacobowitz <drow@false.org>
> Cc: Doug Evans <dje@google.com>, brobecker@adacore.com,
> 	gdb-patches@sourceware.org
> 
> On Sat, Nov 08, 2008 at 11:14:32AM +0200, Eli Zaretskii wrote:
> > I think we should apply Doug's patch _and_ make the other change he
> > suggests as the "alternative" one, i.e. to print the file name as part
> > of the message for shared libraries.
> 
> Even a stripped shared library has more symbols than a stripped
> executable, because more of the library will be in externally visible
> entry points.  I agree with Joel - having a message print out for each
> shared library is annoying when you have dozens of shared libraries
> (common especially on Windows).  So how about we print out "(no
> debugging symbols for my/binary.exe)" and not print out anything for
> shared libraries?

It's been a long day, and I'm no longer sure I understand whether what
you are saying is something different from what I said.  Are you
saying that even if the user turns on the option to print this for
each shared library, we should not print that (or not have the
option)?  I'm okay with having such an option off by default, but I
was asking to display a file name if the option is ON.


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