This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: too many "no debugging symbols found" messages from shared libs
> Date: Sat, 22 Nov 2008 11:07:48 -0800
> From: Paul Pluzhnikov <ppluzhnikov@google.com>
> Cc: Doug Evans <dje@google.com>, mark.kettenis@xs4all.nl, brobecker@adacore.com, gdb-patches@sourceware.org
>
> On Sat, Nov 22, 2008 at 3:58 AM, Eli Zaretskii <eliz@gnu.org> wrote:
>
> > Can we find a good way of supporting both these use cases?
>
> Any library under /lib{,64}, /usr/lib{,64} and /usr/local/lib{,64}
> is likely not an "application in development" library (although
> there are obvious exceptions to this heuristic).
>
> Another alternative: allow the user to "silence" specific
> libraries via a glob pattern, e.g.
>
> set system-library "/lib*/libc.so.6 /lib*/libpthread.so.1"
>
> The default could be "/lib* /usr/lib* /usr/local/lib*", which
> would be equivalent to the heuristic above. A user who cares
> about all libraries could reset this to "". A user who
> doesn't care about any could set this to "*".
I'd prefer the latter method.
> [Use ';' instead of space to separate patterns on *win* targets.]
Yes, and Windows needs a different default for the system libraries.