Hi all, I am wanting to debug on my target with gdb, so added the debug symbols by adding the <packagename>-dbg to the IMAGE_INSTALL variable. This does indeed get the debug symbols onto the target, but no source code. After reading the information on the PACKAGE_DEBUG_SPLIT_STYLE I realised that it defaults to debug-with-srcpkg. Which requires the installation of the src package separately. I added this for my application (I am using the gnu hello program as a recipe I added using devtool). This seems to have install some source, but not the source for the main application (just some libraries). So I assumed that my recipe should explicitly setup the src package? Thinking this was the case I looked at matchbox-terminal. However when I try to install the source for that it cannot find the recipe at all, which surprised me as one of the official recipes of the Poky distribution. e.g. IMAGE_INSTALL:append =" hello hello-dbg hello-src matchbox-terminal-dbg"
Will build and installs symbols for both hello and matchbox-terminal as well as 'some' source for hello (but not the main file). IMAGE_INSTALL:append =" hello hello-dbg hello-src matchbox-terminal-dbg matchbox-terminal-src" Will not build, failing on the matchbox-terminal-src package not being provided. So my question, am I right in thinking packages need to explicitly provide the -src package, if so is it unusual that matchbox-terminal doesn't? Are there any recommendations for a package that does? (I just want to test out debugging on the target!). Thanks for reading this far! Paul
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#64804): https://lists.yoctoproject.org/g/yocto/message/64804 Mute This Topic: https://lists.yoctoproject.org/mt/111165844/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-