[OE-core] Debugging using sysroots and GDB

Pascal Bach pascal.bach at siemens.com
Tue Mar 8 14:06:19 UTC 2016


Hi Andreas
> I am using sysroot for debugging too. I have no
>
> * INHERIT += "rm_work"
>
> and added
>
> INHIBIT_SYSROOT_STRIP = "1"
>
> to my local.conf
>
> I use this approach for very long time now and from my point of view
> it has one BIG advantage: I can use these settings for productive
> images and start remote debug within seconds without further
> rebuilding.
> OK - default compiler optimization sometimes causes headaches but it
> works for solving >80% of my cases. In case I want to debug software
> that I have developed setting optimization recipe wise helps or I
> debug that on PC or target itself.
How do you deal with the case where there is no source in your work dir because the package was taken from sstate?
The only solution I found so far is to build without sstate :(

Pascal



More information about the Openembedded-core mailing list