config/debug/gdb.in.cross
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Mar 20 18:42:34 2010 +0100 (2010-03-20)
changeset 1857 76b1923da63d
parent 1851 59e178812e8d
child 1914 abbceddd82bb
permissions -rw-r--r--
cc/gcc: fix building for powerpc for the 4.4.x series

Reported by: Thomas Petazzoni
http://sourceware.org/ml/crossgcc/2010-03/msg00057.html

Discussions:
http://lists.uclibc.org/pipermail/uclibc/2010-March/043697.html
http://lists.uclibc.org/pipermail/buildroot/2010-March/032790.html
http://ibot.rikers.org/%23uclibc/20100316.html.gz
(search for "copysignl", by kos_tom, blindvt and y_morin)
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
    select GDB_CROSS_NO_STATIC
yann@1851
    20
    help
yann@1851
    21
      gdb can use GMP+MPFR, although it does not seem compulsory.
yann@1851
    22
      
yann@1851
    23
      Say 'Y' here if you want to use GMP+MPFR.
yann@1851
    24
yann@1853
    25
config GDB_CROSS_USE_MPC
yann@1853
    26
    bool
yann@1853
    27
    prompt "Use MPC"
yann@1853
    28
    default n
yann@1853
    29
    select GDB_CROSS_USE_GMP_MPFR
yann@1853
    30
    select MPC
yann@1853
    31
    select GDB_CROSS_NO_STATIC
yann@1853
    32
    help
yann@1853
    33
      gdb can use MPC, although it does not seem compulsory.
yann@1853
    34
      
yann@1853
    35
      Say 'Y' here if you want to use MPC.
yann@1853
    36
yann@1851
    37
config GDB_CROSS_NO_STATIC
yann@1851
    38
    bool
yann@1851
    39
    default n
yann@1851
    40
yann@583
    41
config GDB_CROSS_STATIC
yann@457
    42
    bool
yann@457
    43
    prompt "Build a static cross gdb"
yann@457
    44
    default n
yann@1851
    45
    depends on ! GDB_CROSS_NO_STATIC
yann@457
    46
    help
yann@457
    47
      A static cross gdb can be usefull if you debug on a machine that is
yann@583
    48
      not the one that is used to compile the toolchain.
yann@1390
    49
      
yann@583
    50
      That way, you can share the cross-gdb without installing a toolchain
yann@583
    51
      on every machine that will be used to debug target programs.
yann@583
    52
yann@821
    53
config GDB_CROSS_INSIGHT
yann@821
    54
    bool
yann@821
    55
    prompt "Use Insight instead (EXPERIMENTAL)"
yann@821
    56
    default n
yann@821
    57
    depends on EXPERIMENTAL
yann@821
    58
    help
yann@821
    59
      If you say 'Y' here, then Insight will be used to build the cross
yann@821
    60
      debugger, instead of the plain gdb.
yann@821
    61
      
yann@821
    62
      Insight is gdb plus a TCL/TK GUI: http://sourceware.org/insight/
yann@821
    63
yann@1849
    64
endif # GDB_CROSS