This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: gdb/1706: multithreaded application debug fails on GNU/Linux +gcc + c/c++
- From: Marc Tousignant <drayson at net1plus dot com>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 25 Nov 2004 17:58:08 -0000
- Subject: Re: gdb/1706: multithreaded application debug fails on GNU/Linux +gcc + c/c++
- Reply-to: Marc Tousignant <drayson at net1plus dot com>
The following reply was made to PR gdb/1706; it has been noted by GNATS.
From: Marc Tousignant <drayson@net1plus.com>
To: gdb-gnats@sources.redhat.com
Cc:
Subject: Re: gdb/1706: multithreaded application debug fails on GNU/Linux +
gcc + c/c++
Date: Thu, 25 Nov 2004 12:47:59 -0500
Similar to the above report. Tested using the same download as above.
Environment
Linux 2.6.9-rc2-love4 i686 GNU/Linux
gcc 3.4.3 (Thread model: posix)
gdb configured as "i686-pc-linux-gnu"
Using host libthread_db library "/lib/tls/libthread_db.so.1".
# gdb ./a.out
GNU gdb 6.2.1
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db
library "/lib/tls/libthread_db.so.1".
(gdb) run
Starting program: /home/drayson/a.out
[Thread debugging using libthread_db enabled]
[New Thread -1477892416 (LWP 14973)]
[New Thread -1477895248 (LWP 14976)]
At this point gdb hangs and will not respond to any interaction.
I have tried this in gdb versions 6.0 thru 6.3 all experience the same
problem. gdb has been compiled from source each time and are not premade
packages.