[OE-core] [PATCH 01/17] conf/bitbake.conf package.bbclass: fix dbg package not contain sources while -fdebug-prefix-map used

Andreas Müller schnitzeltony at googlemail.com
Mon Apr 18 08:47:34 UTC 2016


On Mon, Apr 18, 2016 at 10:32 AM, Hongxu Jia <hongxu.jia at windriver.com> wrote:
> On 04/18/2016 04:23 PM, Andreas Müller wrote:
>>
>> On Mon, Apr 18, 2016 at 10:11 AM, Hongxu Jia <hongxu.jia at windriver.com>
>> wrote:
>>>
>>> On 04/18/2016 04:09 PM, Andreas Müller wrote:
>>>>
>>>> Has anybody tried remote debugging with this patch applied? For me the
>>>> source files are no more found and I think this patch looks
>>>> suspicious...
>>>
>>>
>>> What's your build steps?
>>>
>> Don't understand your question I guess. I build by bitbake <image> with
>>
>> INHIBIT_SYSROOT_STRIP = "1"
>>
>> and set sysroot to build sysroot - see [1].
>>
>> [1]
>> http://lists.openembedded.org/pipermail/openembedded-core/2016-March/118635.html
>
>
> Do you install *-dbp pkgs to your image? In the following example, we use
> gdb to
> debug gzip.
Ehm dbg packages?? No - I just want remote debugging
>
> Test steps:
>
> 1. vim local.conf
> ------
> IMAGE_INSTALL_append = " gdb gcc gzip"
> EXTRA_IMAGE_FEATURES_append = " dbg-pkgs"
> ------
>
> Currently, The ${S} locates in 'work-shared' dir could not generate sources
> (such as gcc),
> and ${S} located in WORKDIR works (such as above gzip).
OK no problem - the application I wanted to debug is qt5-creator. This
has worked in the past.
>
> And now I start a new building to verify the suspicious you report.
>
> //Hongxu
>
>>
>> Andreas
>
I cannot check further at the moment: At work currently I have jethro
which debugs fine. The machine with which I detected the issue is at
home close to master.

Andreas



More information about the Openembedded-core mailing list