config/debug/gdb.in.native
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Aug 24 00:15:36 2010 +0200 (2010-08-24)
branch1.8
changeset 2093 7d29f05a7f03
parent 1849 73f76483a389
child 2098 9a8f0e3fe605
permissions -rw-r--r--
1.8: update version to 1.8.1
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@622
    14
config GDB_NATIVE_USE_GMP_MPFR
yann@622
    15
    bool
yann@824
    16
    prompt "Use GMP and MPFR"
yann@622
    17
    default n
yann@1810
    18
    select GMP_TARGET
yann@1810
    19
    select MPFR_TARGET
yann@1850
    20
    select GDB_NATIVE_NO_STATIC
yann@622
    21
    help
yann@622
    22
      gdb can make use of the GMP and MPFR libraries.
yann@1390
    23
      
yann@622
    24
      While the cross-gdb (above) can use the libraries compiled for the
yann@622
    25
      host, the native gdb needs the libraries for the target (where it will
yann@622
    26
      eventually run).
yann@1390
    27
      
yann@622
    28
      Setting this option will force building the GMP and MPFR libraries for
yann@622
    29
      the target, and configure the native gdb to use them.
yann@622
    30
yann@1850
    31
config GDB_NATIVE_NO_STATIC
yann@1850
    32
    bool
yann@1850
    33
    default n
yann@1850
    34
yann@1850
    35
config GDB_NATIVE_STATIC
yann@1850
    36
    bool
yann@1850
    37
    prompt "Build a static native gdb"
yann@1850
    38
    depends on ! GDB_NATIVE_NO_STATIC
yann@1850
    39
    default n
yann@1850
    40
    help
yann@1850
    41
      In case you have trouble with dynamic loading of shared libraries,
yann@1850
    42
      you will find that a static gdb comes in handy.
yann@1850
    43
yann@1849
    44
endif # GDB_NATIVE