[Buildroot] [RFC; PATCH] Use gdbserver from external toolchain
Lionel Landwerlin
llandwerlin at gmail.com
Sat Oct 24 17:41:07 UTC 2009
Le samedi 24 octobre 2009 à 18:25 +0200, Thomas Petazzoni a écrit :
> Hi,
>
> Le Thu, 22 Oct 2009 11:47:52 +0200,
> Anders Darander <anders.darander at gmail.com> a écrit :
>
> > 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.
>
> This feature is of course very welcome, but I'd like to see the
> external toolchain support to be extended to toolchains not generated
> by Crosstool-NG (Codesourcery toolchains, for example, are still on my
> TODO-list).
>
> Can we imagine a way of making this more generic ? Maybe we could
> detect the toolchain «type» and act differently depending on this type ?
>
What comes up to your mind by "type" ?
Here is a short list to start with :
1) uclibc vs glibc
2) contains tools strongly linked to the core toolchain :
- gdbserver / gdb / gcc
What else ?
Regards,
--
Lionel Landwerlin <llandwerlin at gmail.com>
More information about the buildroot
mailing list