[OE-core] [PATCH 01/17] conf/bitbake.conf package.bbclass: fix dbg package not contain sources while -fdebug-prefix-map used
Hongxu Jia
hongxu.jia at windriver.com
Mon Apr 18 08:32:09 UTC 2016
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.
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).
And now I start a new building to verify the suspicious you report.
//Hongxu
>
> Andreas
More information about the Openembedded-core
mailing list