[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
Tue Apr 19 01:46:02 UTC 2016


On 04/18/2016 09:55 PM, Burton, Ross wrote:
>
> On 18 April 2016 at 14:08, Hongxu Jia <hongxu.jia at windriver.com 
> <mailto:hongxu.jia at windriver.com>> wrote:
>
>     If sysroot is required, override DEBUG_FLAGS to remove
>     -fdebug-prefix-map
>
>
> We should probably get this in the release notes, as many people do 
> indeed want remote debug to work.
>
> Can you tell gdb the base path to use when looking for symbols?  I've 
> not done remote GDB for some time but wouldn't "set substitute-path / 
> //my/sysroot/" work?  Or maybe /usr /my/sysroot/usr?
>
> If gdb can't be told then instead of having to replace all of 
> DEBUG_FLAGS it would be neat if the prefix mapping variables where in 
> another variable that could just be unset.
>

OK, I will try to work on GDB to let remote debug to work.

//Hongxu

> Ross

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160419/2e8820ce/attachment-0002.html>


More information about the Openembedded-core mailing list