This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Linux pthreads and gdb 5.0


[Sorry for the resend, forgot to send to gdb list also, plus I added
more precise version numbers]

Hi,

Can't get gdb debug my multithread program with gdb 5.0.

When running i get:

Starting program: ...
[New Thread 1024 (LWP 4654)]
Cannot access memory at adress 0x40016e18

the backtrace is :
#0  0x4000c5c0 in _dl_debug_state () from /lib/ld-linux.so.2

If i try info thread:
(gdb) info thread
*1 Thread 1024 (LWP 4654)  [No stack.]
Segmentation fault

Any advices?

- Glibc is 2.2.2 from debian unstable package (deb version 2.2.2-4). I
think it's a cvs snapshot version in fact, appears to be 2001-03-31.
- The kernel is 2.4.3 (k6 optimized)
- GCC is 2.95.4
- Binutils are 2.11.90.0.7 
(everything from latest debian packages)


-- 
Fabrice Gautier <gautier@email.enstfr>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]