config/debug/gdb.in.native
changeset 1849 73f76483a389
parent 1844 4d6a56579d9d
child 1850 136a929ec37f
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/config/debug/gdb.in.native	Mon Mar 15 21:42:55 2010 +0100
     1.3 @@ -0,0 +1,38 @@
     1.4 +# Menu for the native GDB
     1.5 +
     1.6 +config GDB_NATIVE
     1.7 +    bool
     1.8 +    prompt "Native gdb"
     1.9 +    default n
    1.10 +    depends on ! BARE_METAL
    1.11 +    depends on ! BACKEND
    1.12 +    help
    1.13 +      Build and install a native gdb for the target, to run on the target.
    1.14 +
    1.15 +if GDB_NATIVE
    1.16 +
    1.17 +config GDB_NATIVE_STATIC
    1.18 +    bool
    1.19 +    prompt "Build a static native gdb"
    1.20 +    default n
    1.21 +    help
    1.22 +      In case you have trouble with dynamic loading of shared libraries,
    1.23 +      you will find that a static gdb comes in handy.
    1.24 +
    1.25 +config GDB_NATIVE_USE_GMP_MPFR
    1.26 +    bool
    1.27 +    prompt "Use GMP and MPFR"
    1.28 +    default n
    1.29 +    select GMP_TARGET
    1.30 +    select MPFR_TARGET
    1.31 +    help
    1.32 +      gdb can make use of the GMP and MPFR libraries.
    1.33 +      
    1.34 +      While the cross-gdb (above) can use the libraries compiled for the
    1.35 +      host, the native gdb needs the libraries for the target (where it will
    1.36 +      eventually run).
    1.37 +      
    1.38 +      Setting this option will force building the GMP and MPFR libraries for
    1.39 +      the target, and configure the native gdb to use them.
    1.40 +
    1.41 +endif # GDB_NATIVE