Unable to find gdb in tmp/sysroots directory
Hi everyone,
I'm trying to set up a debugfs. According to https://docs.yoctoproject.org/5.0.4/singleindex.html#using-the-gdbserver-method ( https://docs.yoctoproject.org/5.0.4/singleindex.html#using-the-gdbserver-method ) section 5, I should be able to find my gdb in $BUILDDIR/tmp/sysroots but on my build, the "sysroots" directotry is empty after doing "bitbake gdb-cross-arm". I'm able to find gdb in $BUILDDIR/tmp/work/... though.
I'm using the kirkstone branch of poky.
Does someone have an idea why it's the case?
Thanks in advance.
Quoted 9 lines · Jocelyn Meyron via lists.yoctoproject.org
Hi everyone,
I'm trying to set up a debugfs. According to https://docs.yoctoproject.org/5.0.4/singleindex.html#using-the-gdbserver-method section 5, I should be able to find my gdb in $BUILDDIR/tmp/sysroots but on my build, the "sysroots" directotry is empty after doing "bitbake gdb-cross-arm". I'm able to find gdb in $BUILDDIR/tmp/work/... though.
I'm using the kirkstone branch of poky.
Does someone have an idea why it's the case?
you are using yocto 4.0 but documentation from 5.0 release. I would suggest to use matching documentation e.g.
https://docs.yoctoproject.org/4.0.4/singleindex.html#using-the-gdbserver-method
Quoted 11 lines
Thanks in advance.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
You automatically follow any topics you start or reply to. View/Reply Online (#64263): https://lists.yoctoproject.org/g/yocto/message/64263
Mute This Topic: https://lists.yoctoproject.org/mt/109534232/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Hi Khem,
Thanks for your answer: you're right but the documentation for version 4.0.4 still says that I should find gdb in the sysroots folder.
I checked a bit more the documentation and here it says that this folder is not used anymore https://docs.yoctoproject.org/4.0.4/singleindex.html#build-tmp-sysroots so I would suggest to update the documentation (the error is still present in version 5.0.5)