debug: provide an option to copy the gdbserver to the target
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 14 Mar 2012 22:49:57 +0000 (23:49 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 15 Mar 2012 22:04:39 +0000 (23:04 +0100)
commitc56b58b4b71a5fd87d6d3d61e08a627c968acda1
treeef52a2f0f6c3162c1538d9c74c1f8e271913ff78
parentc85f7f4082e480485e8a0f1549615b5b680d96ff
debug: provide an option to copy the gdbserver to the target

When an external toolchain is used, it is very likely that it contains
a pre-built version of a gdbserver that has the same version as the
cross-gdb included in the external toolchain. So, we now provide an
option that allows to copy this pre-built gdbserver to the target.

As the location of the gdbserver in the external toolchain is not
standardized, we only support the CodeSourcery and Crosstool-NG
layouts for the moment. Other locations can be added later.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
toolchain/gdb/Config.in
toolchain/toolchain-external/ext-tool.mk