[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian's GDB still can't handle threads!



On Tue, Oct 19, 1999 at 11:17:54PM -0400, Daniel Burrows wrote:
>   Basically, here's the problem: gdb, as distributed by Debian, cannot debug
> threaded programs in any meaningful way.  (see bugs #37983, #28058, #36642,
> #37672, and #44536)  I think that this is a serious problem, and that releasing
> a Debian which is broken in this regard -- especially given that history
> suggests that users may have to live with it for a year or so -- should not
> even be considered as an option if anything else is possible [1].  I filed two

No you're absolutely right.  It makes it very difficult, for example, for
Debian users/developers to participate in Mozilla development.

Note that there are definitely patches for 4.18 to allow debugging threads,
and that Red Hat uses them:

dhd@blood-axp:/home/big/src/redhat/SOURCES$ ls
gdb-4.17-xref.patch      gdb-4.18-sparcmin.patch    gdb-4.18.tar.gz
gdb-4.18-sigtramp.patch  gdb-4.18-testsuite.tar.gz
gdb-4.18-sparc.patch     gdb-4.18-threads.patch
                         ^^^^^^^^^^^^^^^^^^^^^^

I'm not sure how well they work, but seeing as Mozilla is being developed
primarily on Red Hat 6.x I presume they work well enough.

I suggest that we either downgrade to HJ's 4.17 for potato or at least apply
the thread-debugging patch.

-- 
   Everything should be clear by now, so you won't need any examples.
       - from the CLC-INTERCAL manual (http://www.assurdo.com/INTERCAL/)


Reply to: