[Buildroot] gdbserver with external crosstool
Aras Vaichas
aras.vaichas at gmail.com
Thu Aug 23 08:45:35 UTC 2012
I've got a question about building gdbserver when an external
toolchain is selected.
in toolchain/gdb/Config.in:
config BR2_PACKAGE_GDB_SERVER
bool "Build gdb server for the Target"
depends on !BR2_TOOLCHAIN_EXTERNAL
help
Build the gdbserver stub to run on the target.
A full gdb is needed to debug the progam.
Why doesn't Buildroot build gdbserver when an external toolchain is selected?
I noticed that both gdbserver and gdb are built (with the external
toolchain) by Buildroot, but only gdb is copied over to the target.
I see that BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY allows the gdbserver
from the external toolchain to be copied over.
So why doesn't Buildroot allow me to copy over the gdbserver that I
built within Buildroot?
Aras Vaichas
More information about the buildroot
mailing list