Don't force building target GMP and MPFR when a native gdb is built. Rather,
add a config knob to configure the native gdb to use or not to use GMP and
MPFR; _this_config_knob_ will force building the target GMP and MPFR only if
turned on.
/trunk/scripts/build/debug/300-gdb.sh | 2 1 1 0 +-
/trunk/config/debug/gdb.in | 21 19 2 0 +++++++++++++++++++--
2 files changed, 20 insertions(+), 3 deletions(-)
1 diff -durN gcc-4.2.1.orig/gcc/config.gcc gcc-4.2.1/gcc/config.gcc
2 --- gcc-4.2.1.orig/gcc/config.gcc 2007-02-03 06:25:20.000000000 +0100
3 +++ gcc-4.2.1/gcc/config.gcc 2007-08-03 20:29:52.000000000 +0200
6 sh-*-elf* | sh[12346l]*-*-elf* | sh*-*-kaos* | \
7 sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \
8 - sh-*-linux* | sh[346lbe]*-*-linux* | \
9 + sh*-*-linux* | sh[346lbe]*-*-linux* | \
10 sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
11 sh64-*-netbsd* | sh64l*-*-netbsd*)
12 tmake_file="${tmake_file} sh/t-sh sh/t-elf"