This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch][rfc] Allow GDB to search for the right libthread_db.so.1
- From: Paul Pluzhnikov <ppluzhnikov at google dot com>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: brobecker at adacore dot com, teawater at gmail dot com, tromey at redhat dot com, bauerman at br dot ibm dot com, gdb-patches at sourceware dot org
- Date: Fri, 1 May 2009 08:49:07 -0700
- Subject: Re: [patch][rfc] Allow GDB to search for the right libthread_db.so.1
- References: <8ac60eac0904201019g7ba8056bx5e84e6bfdf5935d8@mail.gmail.com> <daef60380904222321h33fe2fe1n7dd0f6e94e804d8c@mail.gmail.com> <8ac60eac0904230001w1afd9179wcb76e1cfd7f3f386@mail.gmail.com> <daef60380904230105u20843291pe8ee9f98e5ed1d76@mail.gmail.com> <daef60380904230432l7f49d44dw17437e208b35cb9f@mail.gmail.com> <8ac60eac0904291330m78b43c47p1cc9b8379e31e923@mail.gmail.com> <20090430185551.GB10734@adacore.com> <8ac60eac0904301211x245c8b7cp546042d832eb1fe@mail.gmail.com> <8ac60eac0904301618j61051e9du38b34afbc7ed64a3@mail.gmail.com> <83eiv9e1bb.fsf@gnu.org>
On Fri, May 1, 2009 at 12:20 AM, Eli Zaretskii <eliz@gnu.org> wrote:
> Is thread debugging indeed completely impossible without libthread_db?
Pretty much: GDB will not know about any threads other than the one
that is stopped or crashed; with LinuxThreads GDB will stop with SIG32
all the time in unexpected places, etc. etc.
Debugging experience for anyone but libpthread implementer will be
quite miserable.
> If not, perhaps this warning (and the corresponding description in the
> manual) should be amended somehow.
Given above, I don't believe that's warranted.
Thanks,
--
Paul Pluzhnikov