config/debug/gdb.in.cross
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Apr 15 22:34:35 2010 +0200 (2010-04-15)
changeset 1914 abbceddd82bb
parent 1853 8676886c1ca9
child 1915 78557644e31d
permissions -rw-r--r--
debug/gdb: allow static build with complibs

It is now possible to built static versions of the companion libraries,
so we can now build a static cross-gdb using the complibs.
yann@1849
     1
# Menu for the cross GDB
yann@96
     2
yann@96
     3
config GDB_CROSS
yann@96
     4
    bool
yann@96
     5
    prompt "Cross-gdb"
yann@96
     6
    default y
yann@850
     7
    select GDB_GDBSERVER if ! BARE_METAL
yann@96
     8
    help
yann@583
     9
      Build and install a cross-gdb for the target, to run on host.
yann@96
    10
yann@1849
    11
if GDB_CROSS
yann@1849
    12
yann@1851
    13
config GDB_CROSS_USE_GMP_MPFR
yann@1851
    14
    bool
yann@1851
    15
    prompt "Use GMP/MPFR"
yann@1851
    16
    default n
yann@1851
    17
    select GMP
yann@1851
    18
    select MPFR
yann@1851
    19
    help
yann@1851
    20
      gdb can use GMP+MPFR, although it does not seem compulsory.
yann@1851
    21
      
yann@1851
    22
      Say 'Y' here if you want to use GMP+MPFR.
yann@1851
    23
yann@1853
    24
config GDB_CROSS_USE_MPC
yann@1853
    25
    bool
yann@1853
    26
    prompt "Use MPC"
yann@1853
    27
    default n
yann@1853
    28
    select GDB_CROSS_USE_GMP_MPFR
yann@1853
    29
    select MPC
yann@1853
    30
    help
yann@1853
    31
      gdb can use MPC, although it does not seem compulsory.
yann@1853
    32
      
yann@1853
    33
      Say 'Y' here if you want to use MPC.
yann@1853
    34
yann@583
    35
config GDB_CROSS_STATIC
yann@457
    36
    bool
yann@457
    37
    prompt "Build a static cross gdb"
yann@457
    38
    default n
yann@457
    39
    help
yann@457
    40
      A static cross gdb can be usefull if you debug on a machine that is
yann@583
    41
      not the one that is used to compile the toolchain.
yann@1390
    42
      
yann@583
    43
      That way, you can share the cross-gdb without installing a toolchain
yann@583
    44
      on every machine that will be used to debug target programs.
yann@583
    45
yann@821
    46
config GDB_CROSS_INSIGHT
yann@821
    47
    bool
yann@821
    48
    prompt "Use Insight instead (EXPERIMENTAL)"
yann@821
    49
    default n
yann@821
    50
    depends on EXPERIMENTAL
yann@821
    51
    help
yann@821
    52
      If you say 'Y' here, then Insight will be used to build the cross
yann@821
    53
      debugger, instead of the plain gdb.
yann@821
    54
      
yann@821
    55
      Insight is gdb plus a TCL/TK GUI: http://sourceware.org/insight/
yann@821
    56
yann@1849
    57
endif # GDB_CROSS