[yocto] How to avoid stripping libthread_db to enable gdb thread debugging?

Hui Liu hliu at deeper.network
Fri Nov 2 11:03:54 PDT 2018


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?

-- 
Thanks,
Hui
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20181102/12b0a40f/attachment.html>


More information about the yocto mailing list