[OE-core] Debugging using sysroots and GDB

Andreas Müller schnitzeltony at googlemail.com
Tue Mar 8 19:57:05 UTC 2016


On Tue, Mar 8, 2016 at 3:06 PM, Pascal Bach <pascal.bach at siemens.com> wrote:
> 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 :(
>
To be honest: I never had that - maybe because I am keeping a complete
tmp for each machine I am working with.

Andreas



More information about the Openembedded-core mailing list