[Buildroot] [RFC; PATCH] Use gdbserver from external toolchain
Lionel Landwerlin
llandwerlin at gmail.com
Thu Oct 22 19:41:32 UTC 2009
Le jeudi 22 octobre 2009 à 11:47 +0200, Anders Darander a écrit :
> Hi,
>
> I've attached a patch (formatted by git), which adds the possibility
> to have buildroot install the already compiled gdbserver from an
> external toolchain.
>
> To make sure that debuging works, it is preferred if both the host
> crosscompiler gdb and gdbserver is built from the same gdb version. If
> we take the gdbserver from the external toolchain, this is guaranteed.
>
> I'm not sure that the implementation is the best, it migth be a
> little bit "hackish". Looking forward to some comments for
> improvement.
>
> Regards,
> Anders
Hi Anders,
Interesting patch ;)
Maybe you could add
depends on BR2_TOOLCHAIN_EXTERNAL
to your BR2_TOOLCHAIN_EXTERNAL_GDBSERVER option.
Regards,
--
Lionel Landwerlin <llandwerlin at gmail.com>
More information about the buildroot
mailing list