This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: GDB support for thread-local storage
- From: James Cownie <jcownie at etnus dot com>
- To: gdb at sources dot redhat dot com
- Date: Tue, 25 Jun 2002 16:53:37 +0100
- Subject: Re: GDB support for thread-local storage
> > So, ask the thread library folks to provide a suitable versioning
> > symbol. As you rightly point out trying to guess the version is
> > unlikely to succeed !
>
> Anything that requires changes to the library isn't really viable; too
> many libraries already exist.
But that seems like an argument for packing up and going for a beer
which could be applied to _any_ improvement in anything associated
with libc :-)
The exact same argument could have been employed against introducing
libthread_db itself in the first place !
Surely one has to move forwards.
Adding a suitable version symbol can only help, it can't break
anything. If it's there the debugger can use it. If not you can keep
doing what you already do, and it seems you really need it even for
the normal native cases.
-- Jim
James Cownie <jcownie@etnus.com>
Etnus, LLC. +44 117 9071438
http://www.etnus.com