gdb: do not allow gdbserver/cross-gdb build in some cases
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 7 Apr 2013 00:04:34 +0000 (00:04 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 11 Apr 2013 19:46:56 +0000 (21:46 +0200)
commitf6d02465068eed452c5a1c3ca453eb8641ab034a
tree8f45fdd91febb1075b9a8f76ad2e6c8a96fac88e
parenta0b6faaab4dcb7e372fe16ffb335e39b9e06a8fb
gdb: do not allow gdbserver/cross-gdb build in some cases

When an external toolchain is used, and the user has chosen to copy
the external toolchain gdbserver to the target, then we should allow
the user to build a gdbserver and/or a cross-gdb: the ones of the
external toolchain should be used.

The reasoning is that one must use a gdbserver and cross-gdb of
identical versions to be sure that debugging will work properly.

Change suggested by Yann E. Morin.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/gdb/Config.in
package/gdb/Config.in.host