Bug#48111: GDB DOES do threads. [was Re: Debian's GDB still can't handle threads!] (fwd)
Package: libc6
Version: 2.1.2-5
Severity: important
(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.
Cordialement,
---------- Forwarded message ----------
Date: Fri, 22 Oct 1999 11:53:23 -0400 (EDT)
From: Isaac Richards <ijr@po.cwru.edu>
To: debian-devel@lists.debian.org
Subject: GDB DOES do threads. [was Re: Debian's GDB still can't handle
threads!]
Resent-Date: 22 Oct 1999 16:49:52 -0000
Resent-From: debian-devel@lists.debian.org
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
main distro.
Isaac
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.
>
> Cordialement,
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: