bug-gdb
[Top][All Lists]
Advanced

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

Re: GDB m68k debug multi-thread application fails: capability not availa


From: john . canosa
Subject: Re: GDB m68k debug multi-thread application fails: capability not available
Date: Tue, 28 May 2013 16:16:51 -0700 (PDT)
User-agent: G2/1.0

Lars - I realize this is a very old post but I am wondering if you ever figured 
this out.  I am running into the same problem and have found very, very little 
on the web that is useful.  Any insight you can add would be most appreciated.
Regards,
John

On Friday, January 14, 2011 7:37:12 AM UTC-5, Horvath, Lars Michael wrote:
> 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]