Bug#48111: GDB DOES do threads. [was Re: Debian's GDB still can't handle threads!] (fwd)
(ObSeverity: that's not _really_ an important bug for libc6, but it
trigers a very annoying bug on gdb, plus it's trivial to fix)
So as the following message says, I'd like libpthreads.so to be stripped
only with --strip-debug and _not_ --strip-unneeded so gdb can handle the
debbuging of threaded programs.
---------- Forwarded message ----------
Date: Fri, 22 Oct 1999 11:53:23 -0400 (EDT)
From: Isaac Richards <email@example.com>
Subject: GDB DOES do threads. [was Re: Debian's GDB still can't handle
Resent-Date: 22 Oct 1999 16:49:52 -0000
Resent-cc: recipient list not shown: ;
The current gdb in potato DOES in fact handle threads. However, since
libpthread.so is stripped, it doesn't work. If you install libc6-dbg and set
LD_LIBRARY_PATH to /usr/lib/libc_debug, it works just fine.
This solution, IMHO, sucks. libpthread should be stripped with --strip-debug,
not --strip-unneeded. File size savings is a whole 15 k. Installing the
libc6-dbg packages so gdb is useful means an additional 8.8 M on the system.
Being able to debug threads, and getting _useful_ backtraces from people with
standard potato installations is much better than saving 15 measly k's in the
On 21-Oct-99 Vincent Renardias wrote:
> I tried to apply gdb-4.18-threads.patch a while ago but failed. If someone
> can do it, I'd be glad to integrate their patch (hint, hint).
> On the other hand, reverting to 4.17 is not an option (4.18 fixes a lot of
> bugs) and forking is not an option either.
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact email@example.com