config/debug/gdb.in
changeset 622 259d3b95bfad
parent 602 1968d150a34f
child 639 d03546ec1f57
     1.1 --- a/config/debug/gdb.in	Fri Jun 20 15:16:43 2008 +0000
     1.2 +++ b/config/debug/gdb.in	Wed Jun 25 21:56:36 2008 +0000
     1.3 @@ -33,7 +33,6 @@
     1.4      bool
     1.5      prompt "Native gdb"
     1.6      default n
     1.7 -    select GMP_MPFR_TARGET if GMP_MPFR
     1.8      help
     1.9        Build and install a native gdb for the target, to run on the target.
    1.10  
    1.11 @@ -46,6 +45,24 @@
    1.12        In case you have trouble with dynamic loading of shared libraries,
    1.13        you will find that a static gdb comes in handy.
    1.14  
    1.15 +config GDB_NATIVE_USE_GMP_MPFR
    1.16 +    bool
    1.17 +    prompt "Use GMP and MPFR (EXPERIMENTAL)"
    1.18 +    default n
    1.19 +    depends on EXPERIMENTAL
    1.20 +    depends on GDB_NATIVE
    1.21 +    select GMP_MPFR
    1.22 +    select GMP_MPFR_TARGET
    1.23 +    help
    1.24 +      gdb can make use of the GMP and MPFR libraries.
    1.25 +
    1.26 +      While the cross-gdb (above) can use the libraries compiled for the
    1.27 +      host, the native gdb needs the libraries for the target (where it will
    1.28 +      eventually run).
    1.29 +
    1.30 +      Setting this option will force building the GMP and MPFR libraries for
    1.31 +      the target, and configure the native gdb to use them.
    1.32 +
    1.33  config GDB_GDBSERVER
    1.34      bool
    1.35      prompt "gdbserver"
    1.36 @@ -56,7 +73,7 @@
    1.37  config GDB_GDBSERVER_STATIC
    1.38      bool
    1.39      prompt "Build a static gdbserver"
    1.40 -    default n
    1.41 +    default y
    1.42      depends on GDB_GDBSERVER
    1.43      help
    1.44        In case you have trouble with dynamic loading of shared libraries,