1.1 --- a/config/debug/gdb.in.cross Mon Aug 23 20:21:43 2010 +0200
1.2 +++ b/config/debug/gdb.in.cross Mon Aug 23 10:38:15 2010 +0200
1.3 @@ -21,26 +21,4 @@
1.4 That way, you can share the cross-gdb without installing a toolchain
1.5 on every machine that will be used to debug target programs.
1.6
1.7 -config GDB_CROSS_USE_GMP_MPFR
1.8 - bool
1.9 - prompt "Use GMP/MPFR"
1.10 - default n
1.11 - select GMP
1.12 - select MPFR
1.13 - help
1.14 - gdb can use GMP+MPFR, although it does not seem compulsory.
1.15 -
1.16 - Say 'Y' here if you want to use GMP+MPFR.
1.17 -
1.18 -config GDB_CROSS_USE_MPC
1.19 - bool
1.20 - prompt "Use MPC"
1.21 - default n
1.22 - select GDB_CROSS_USE_GMP_MPFR
1.23 - select MPC
1.24 - help
1.25 - gdb can use MPC, although it does not seem compulsory.
1.26 -
1.27 - Say 'Y' here if you want to use MPC.
1.28 -
1.29 endif # GDB_CROSS
2.1 --- a/config/debug/gdb.in.native Mon Aug 23 20:21:43 2010 +0200
2.2 +++ b/config/debug/gdb.in.native Mon Aug 23 10:38:15 2010 +0200
2.3 @@ -11,23 +11,6 @@
2.4
2.5 if GDB_NATIVE
2.6
2.7 -config GDB_NATIVE_USE_GMP_MPFR
2.8 - bool
2.9 - prompt "Use GMP and MPFR"
2.10 - default n
2.11 - select GMP_TARGET
2.12 - select MPFR_TARGET
2.13 - select GDB_NATIVE_NO_STATIC
2.14 - help
2.15 - gdb can make use of the GMP and MPFR libraries.
2.16 -
2.17 - While the cross-gdb (above) can use the libraries compiled for the
2.18 - host, the native gdb needs the libraries for the target (where it will
2.19 - eventually run).
2.20 -
2.21 - Setting this option will force building the GMP and MPFR libraries for
2.22 - the target, and configure the native gdb to use them.
2.23 -
2.24 config GDB_NATIVE_NO_STATIC
2.25 bool
2.26 default n
3.1 --- a/scripts/build/debug/300-gdb.sh Mon Aug 23 20:21:43 2010 +0200
3.2 +++ b/scripts/build/debug/300-gdb.sh Mon Aug 23 10:38:15 2010 +0200
3.3 @@ -79,13 +79,6 @@
3.4 cd "${CT_BUILD_DIR}/build-gdb-cross"
3.5
3.6 cross_extra_config=("${extra_config[@]}")
3.7 - if [ "${CT_GDB_CROSS_USE_GMP_MPFR}" = "y" ]; then
3.8 - cross_extra_config+=("--with-gmp=${CT_PREFIX_DIR}")
3.9 - cross_extra_config+=("--with-mpfr=${CT_PREFIX_DIR}")
3.10 - fi
3.11 - if [ "${CT_GDB_CROSS_USE_MPC}" = "y" ]; then
3.12 - cross_extra_config+=("--with-mpc=${CT_PREFIX_DIR}")
3.13 - fi
3.14 case "${CT_THREADS}" in
3.15 none) cross_extra_config+=("--disable-threads");;
3.16 *) cross_extra_config+=("--enable-threads");;
3.17 @@ -199,10 +192,6 @@
3.18 none) native_extra_config+=("--disable-threads");;
3.19 *) native_extra_config+=("--enable-threads");;
3.20 esac
3.21 - if [ "${CT_GDB_NATIVE_USE_GMP_MPFR}" = "y" ]; then
3.22 - native_extra_config+=("--with-gmp=${CT_SYSROOT_DIR}/usr")
3.23 - native_extra_config+=("--with-mpfr=${CT_SYSROOT_DIR}/usr")
3.24 - fi
3.25
3.26 if [ "${CT_GDB_NATIVE_STATIC}" = "y" ]; then
3.27 CC_for_gdb="${CT_TARGET}-gcc -static"