On 2021-06-07 12:01 p.m., Mauro Ziliani wrote:
Hi all.I have the recipe myapp.bb <https://urldefense.com/v3/__http://myapp.bb__;!!AjveYdw8EvQ!MCUgANMJMSSkVvGlEMADV7AOmOe1l-C0-uHQ2M0G98R-Ls2dR9cAuooQ_p9oo-slMP9a3Q$>, and I get from it the debian packages myapp_1.0-r0_armhf.deb <https://urldefense.com/v3/__http://myapp_1.0-r0_armhf.deb__;!!AjveYdw8EvQ!MCUgANMJMSSkVvGlEMADV7AOmOe1l-C0-uHQ2M0G98R-Ls2dR9cAuooQ_p9oo-sJEyh82A$> and myapp-dbg_1.0-r0_armhf.debHow can I use the debug symbols in myapp-dbg_1.0-r0_armhf.deb <https://urldefense.com/v3/__http://myapp-dbg_1.0-r0_armhf.deb__;!!AjveYdw8EvQ!MCUgANMJMSSkVvGlEMADV7AOmOe1l-C0-uHQ2M0G98R-Ls2dR9cAuooQ_p9oo-t3-XRCvA$> with gdb and the application in myapp_1.0-r0_armhf.deb <https://urldefense.com/v3/__http://myapp_1.0-r0_armhf.deb__;!!AjveYdw8EvQ!MCUgANMJMSSkVvGlEMADV7AOmOe1l-C0-uHQ2M0G98R-Ls2dR9cAuooQ_p9oo-sJEyh82A$> package?
Hi Mauro,I'm not sure that I understand. Why wouldn't you just install the dbg deb along with gdb and debug on target?
You might also want to look at using debuginfod if you are on the hardknott or master branch: https://pretalx.com/yocto-project-summit-2021/talk/ADCYJ7/ https://www.youtube.com/watch?v=S3QLr113mx8 Did you follow the YP docs: http://docs.yoctoproject.org/dev-manual/common-tasks.html#debugging-with-the-gnu-project-debugger-gdb-remotely ? ../Randy
Best regards, MZSent from Mailspring <https://urldefense.com/v3/__https://getmailspring.com/__;!!AjveYdw8EvQ!MCUgANMJMSSkVvGlEMADV7AOmOe1l-C0-uHQ2M0G98R-Ls2dR9cAuooQ_p9oo-tpux6pZA$>, the best free email app for work
-- # Randy MacLeod # Wind River Linux
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#53797): https://lists.yoctoproject.org/g/yocto/message/53797 Mute This Topic: https://lists.yoctoproject.org/mt/83373742/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
