config/debug/gdb.in.native
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Mar 15 21:42:55 2010 +0100 (2010-03-15)
changeset 1849 73f76483a389
parent 1844 config/debug/gdb.in@4d6a56579d9d
child 1850 136a929ec37f
permissions -rw-r--r--
debug/gdb: split menuconfig for easier maintenance
     1 # Menu for the native GDB
     2 
     3 config GDB_NATIVE
     4     bool
     5     prompt "Native gdb"
     6     default n
     7     depends on ! BARE_METAL
     8     depends on ! BACKEND
     9     help
    10       Build and install a native gdb for the target, to run on the target.
    11 
    12 if GDB_NATIVE
    13 
    14 config GDB_NATIVE_STATIC
    15     bool
    16     prompt "Build a static native gdb"
    17     default n
    18     help
    19       In case you have trouble with dynamic loading of shared libraries,
    20       you will find that a static gdb comes in handy.
    21 
    22 config GDB_NATIVE_USE_GMP_MPFR
    23     bool
    24     prompt "Use GMP and MPFR"
    25     default n
    26     select GMP_TARGET
    27     select MPFR_TARGET
    28     help
    29       gdb can make use of the GMP and MPFR libraries.
    30       
    31       While the cross-gdb (above) can use the libraries compiled for the
    32       host, the native gdb needs the libraries for the target (where it will
    33       eventually run).
    34       
    35       Setting this option will force building the GMP and MPFR libraries for
    36       the target, and configure the native gdb to use them.
    37 
    38 endif # GDB_NATIVE