config/debug/gdb.in.cross
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Aug 23 10:38:15 2010 +0200 (2010-08-23)
changeset 2098 9a8f0e3fe605
parent 1916 e5b635bb9290
child 2209 cdafca8bdaa8
permissions -rw-r--r--
debug/gdb: companion libs are not used

Although the gdb ./configure advertises for GMP and MPFR, those libraries
are not used by gdb (the ./configure is used across different packages,
hence the check for GMP/MPFR). See:
http://sourceware.org/ml/crossgcc/2010-08/msg00168.html

The same applies to MPC.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
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@1915
    13
config GDB_CROSS_STATIC
yann@1915
    14
    bool
yann@1915
    15
    prompt "Build a static cross gdb"
yann@1915
    16
    default n
yann@1915
    17
    help
yann@1915
    18
      A static cross gdb can be usefull if you debug on a machine that is
yann@1915
    19
      not the one that is used to compile the toolchain.
yann@1915
    20
      
yann@1915
    21
      That way, you can share the cross-gdb without installing a toolchain
yann@1915
    22
      on every machine that will be used to debug target programs.
yann@1915
    23
yann@1849
    24
endif # GDB_CROSS