[yocto] Toolchain with debug support

Khem Raj raj.khem at gmail.com
Wed Oct 14 23:50:50 PDT 2015


> On Oct 12, 2015, at 12:57 AM, atulkumar singh <atul.singh008 at gmail.com> wrote:
> 
> Hi All,
> 
> Can anyone please tell me how to build a meta toolchain with debug support by setting CFLAGS to "-g -O0”.
> 
Read
http://www.yoctoproject.org/docs/1.8/ref-manual/ref-manual.html#var-DEBUG_BUILD <http://www.yoctoproject.org/docs/1.8/ref-manual/ref-manual.html#var-DEBUG_BUILD>
> I tried adding this into gcc recipe but that didn't worked out for me as another option I even tried adding CFLAGS_gcc = "-g -O0".
> But no success, actually I wish to debug inside a function.
> 
> Thanks and regards,
> Atul
> 
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20151014/9894299b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20151014/9894299b/attachment.pgp>


More information about the yocto mailing list