I am trying to debug an application linked with -lpthread, but GDB fails:
Starting program: /upcodepr.linux.mcf54415
Reading symbols from /lib/ld.so.1...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
Reading symbols from /lib/librt.so.1...done.
[New Thread 0x60180210 (LWP 621)]
[New Thread 0x609814c0 (LWP 624)]
Cannot find user-level thread for LWP 621: capability not available
I am using the Freescale ltib package to build the kernel (2.6.29).
The application was linked against the glibc included in the tool chain, and the same glibc is included on the target.
Attached is the ltib configuration.
Any comments and help is appreciated,