bug-gdb
[Top][All Lists]
Advanced

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

GDB m68k debug multi-thread application fails: capability not available


From: Horvath, Lars Michael
Subject: GDB m68k debug multi-thread application fails: capability not available
Date: Fri, 14 Jan 2011 13:37:12 +0100

Hello,

On a ColdFire (twr-mcf5441x) board, 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).

GCC is gcc-4.4.54-eglibc-2.10.54

GDB version is 6.6.50.20070821-cvs

The application was linked against the glibc included in the tool chain, and the same glibc is included on the target. The library files exist and have the same dates so I assume they are in sync. Also, they are not stripped.

Single threaded apps. can be loaded and debugged ok.

Any help on how to make GDB find user level threads is appreciated!

Regards,

- Lars

 

Please be advised that this email may contain confidential
information. If you are not the intended recipient, please notify us
by email by replying to the sender and delete this message. The
sender disclaims that the content of this email constitutes an offer
to enter into, or the acceptance of, any agreement; provided that the
foregoing does not invalidate the binding effect of any digital or
other electronic reproduction of a manual signature that is included
in any attachment.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]