This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Fix for mishandling of "break 'pthread_create@GLIBC_2.2.5'"
From: "Paul Pluzhnikov" <ppluzhnikov@google.com>
Date: Tue, 13 May 2008 13:51:57 -0700
> On Tue, May 13, 2008 at 1:23 PM, Michael Snyder <msnyder@specifix.com> wrote:
> >
> > FYI, there's a sort-of work-around...
>
> That only sort-of-works because there is a matching non-versioned
> symbol. In addition, it's quite annoying for TAB-completion to
> complete the symbol, but the result of completion to then not work.
Right.
I have a related problem right now in that the annota1 and annota3
testcases fail on my machine because all of the printf symbols in
libc are versioned and the one you get with a simple "b printf" is
random and determined by the order in which the symbols get added to
the minsym hashes:
0005b260 T printf@@GLIBC_2.4
001425c0 T printf@GLIBC_2.0
GDB's support for symbol versioning could definitely be improved :-)