config/debug/gdb.in.cross
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Mar 15 21:42:55 2010 +0100 (2010-03-15)
changeset 1849 73f76483a389
parent 1844 config/debug/gdb.in@4d6a56579d9d
child 1851 59e178812e8d
permissions -rw-r--r--
debug/gdb: split menuconfig for easier maintenance
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@583
    13
config GDB_CROSS_STATIC
yann@457
    14
    bool
yann@457
    15
    prompt "Build a static cross gdb"
yann@457
    16
    default n
yann@457
    17
    help
yann@457
    18
      A static cross gdb can be usefull if you debug on a machine that is
yann@583
    19
      not the one that is used to compile the toolchain.
yann@1390
    20
      
yann@583
    21
      That way, you can share the cross-gdb without installing a toolchain
yann@583
    22
      on every machine that will be used to debug target programs.
yann@583
    23
yann@821
    24
config GDB_CROSS_INSIGHT
yann@821
    25
    bool
yann@821
    26
    prompt "Use Insight instead (EXPERIMENTAL)"
yann@821
    27
    default n
yann@821
    28
    depends on EXPERIMENTAL
yann@821
    29
    help
yann@821
    30
      If you say 'Y' here, then Insight will be used to build the cross
yann@821
    31
      debugger, instead of the plain gdb.
yann@821
    32
      
yann@821
    33
      Insight is gdb plus a TCL/TK GUI: http://sourceware.org/insight/
yann@821
    34
yann@1849
    35
endif # GDB_CROSS