Skip to contentSkip to conversation

Unable to find gdb in tmp/sysroots directory

DISCUSSION Jocelyn Meyron 2 participants 3 messages Nov 12, 2024 – Dec 2, 2024

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw
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]]
-=-=-=-=-=-=-=-=-=-=-=-