On 11/2/18 1:03 PM, Hui Liu wrote:
> Hi,
> 
> I add gdb to my recipe, and found gdb can't enable thread debugging.
> 
> The warning from gdb is:
> 
> warning: Unable to find libthread_db matching inferior's thread library, 
> thread
> debugging will not be available
> 
> After some investigation, I found it is due to libthread_db is stripped:
> 
> nm lib/libthread_db.so.1
> nm: lib/libthread_db.so.1: no symbols
> 
> Could you let me know how to avoid this?

You need to install the dbg package.  This contains the symbols necessary for
debugging.  You can install it for either cross or local (on target) debugging.
In the cross-debuging case, you should not need it on the target.

--Mark

> -- 
> Thanks,
> Hui
> 
> 

-- 
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to