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