config/debug/gdb.in.cross
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Nov 23 21:35:15 2010 +0100 (2010-11-23)
changeset 2187 9cdb153ff9df
parent 1916 e5b635bb9290
child 2209 cdafca8bdaa8
permissions -rw-r--r--
scripts/xldd: report appropriate load address for 32- or 64-bit

For 32-bit target systems, report 4-byte (8-xdigit) wide adresses,
and for 64-bit, report 8-byte (16-xdigit) wide adresses.

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