Hello,
Le Wed, 8 Aug 2012 17:29:20 +0100,
"Henderson, Stuart" [off-list ref] a ?crit :
Since Sonic's linux distro has gdbserver built into it anyway (built
using the appropriate version of the toolchain), I don't think
providing gdbserver in the toolchain as well would provide any
particular benefit to the end user. Is there a scenario where having
gdbserver in the toolchain is going to help the user? I'd happily
introduce it, if so.
Well, my personal experience (and I've heard this experience from
several other people has well) is that to avoid problems the gdbserver
version you're using should be the same as the cross-gdb used to
connect to this gdbserver. Therefore, it makes sense for a toolchain to
provide both cross-gdb *and* gdbserver, or none of them, but it doesn't
make much sense to offer just cross-gdb without a gdbserver. As I was
mentioning before, Linaro toolchains, Sourcery CodeBench toolchains do
that.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com