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
yann@1849
     1
# Menu for the native GDB
yann@821
     2
yann@583
     3
config GDB_NATIVE
yann@583
     4
    bool
yann@583
     5
    prompt "Native gdb"
yann@583
     6
    default n
yann@850
     7
    depends on ! BARE_METAL
yann@1844
     8
    depends on ! BACKEND
yann@583
     9
    help
yann@583
    10
      Build and install a native gdb for the target, to run on the target.
yann@583
    11
yann@1849
    12
if GDB_NATIVE
yann@1849
    13
yann@583
    14
config GDB_NATIVE_STATIC
yann@583
    15
    bool
yann@583
    16
    prompt "Build a static native gdb"
yann@583
    17
    default n
yann@583
    18
    help
yann@583
    19
      In case you have trouble with dynamic loading of shared libraries,
yann@583
    20
      you will find that a static gdb comes in handy.
yann@583
    21
yann@622
    22
config GDB_NATIVE_USE_GMP_MPFR
yann@622
    23
    bool
yann@824
    24
    prompt "Use GMP and MPFR"
yann@622
    25
    default n
yann@1810
    26
    select GMP_TARGET
yann@1810
    27
    select MPFR_TARGET
yann@622
    28
    help
yann@622
    29
      gdb can make use of the GMP and MPFR libraries.
yann@1390
    30
      
yann@622
    31
      While the cross-gdb (above) can use the libraries compiled for the
yann@622
    32
      host, the native gdb needs the libraries for the target (where it will
yann@622
    33
      eventually run).
yann@1390
    34
      
yann@622
    35
      Setting this option will force building the GMP and MPFR libraries for
yann@622
    36
      the target, and configure the native gdb to use them.
yann@622
    37
yann@1849
    38
endif # GDB_NATIVE