GDB debug thread problem on twr5441x (kernel 2.6.29)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

GDB debug thread problem on twr5441x (kernel 2.6.29)

1,170 Views
lmhdoms
Contributor III

Hello,

 

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,

 

Regards,

- Lars

Labels (1)
0 Kudos
1 Reply

268 Views
lmhdoms
Contributor III

Additional info: the version of gdb is:

 

GNU gdb (GDB) 6.6.50.20070821-cvs

 

 

0 Kudos