[OE-core] Debugging using sysroots and GDB

Khem Raj raj.khem at gmail.com
Tue Mar 8 11:22:45 UTC 2016


On Mar 8, 2016 3:54 PM, "Pascal Bach" <pascal.bach at siemens.com> wrote:
>
> Hi Richard
> > Using this method is a supported approach. I'm a little surprised
> > .debug directories don't work. Have you tried just setting:
> >
> > set sysroot /home/projects/rootfs-dbg
> > set substitute-path /usr/src/debug /home/projects/rootfs
> > -bbg/usr/src/debug
> This doesn't seem to work (tried only with dizzy).
> The only way I could get this to work is to extract both the rootfs and
the rootfs-dbg into the same place and then set sysroot to that location.
> Is this the way it is supposed to be?

Yes

>
> >
> > as I believe it should work with IMAGE_GEN_DEBUGFS=1 "out the box". If
> > it doesn't that is a bug and we should try and look into fixing that.
> I'm currently using dizzy. I will give it another try with jethro next
week maybe it is working there.
>
> Pascal
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160308/8c19550d/attachment-0002.html>


More information about the Openembedded-core mailing list