config/debug/gdb.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu May 17 16:22:51 2007 +0000 (2007-05-17)
changeset 96 aa1a9fbd6eb8
child 105 5a8d4f6a19c7
permissions -rw-r--r--
Debug facilities:
- add a framework to easily add new ones
- add gdb as a first debug facility
- add patches for gdb
After the kernel checked its installed headers, clean up the mess of .checked.* files.
Reorder scripts/crosstool.sh:
- dump the configuration early
- renice early
- get info about build system early, when setting up the environment
- when in cross or native, the host tools are those of the build system, and only in this case
- elapsed time calculations moved to scripts/functions
Remove handling of the color: it's gone once and for all.
Update tools/addToolVersion.sh:
- handle debug facilities
- commonalise some code
- remove dead tools (cygwin, tcc)
Point to my address for bug reports.
yann@96
     1
# GDB menu
yann@96
     2
yann@96
     3
menuconfig GDB
yann@96
     4
    bool
yann@96
     5
    prompt "gdb"
yann@96
     6
    default n
yann@96
     7
    depends on EXPERIMENTAL
yann@96
     8
    help
yann@96
     9
      Enable gdb for the target
yann@96
    10
yann@96
    11
if GDB
yann@96
    12
yann@96
    13
config GDB_CROSS
yann@96
    14
    bool
yann@96
    15
    prompt "Cross-gdb"
yann@96
    16
    default y
yann@96
    17
    help
yann@96
    18
      Build and install a cross-gdb for the target, and to run on host.
yann@96
    19
yann@96
    20
config GDB_NATIVE
yann@96
    21
    bool
yann@96
    22
    prompt "Native gdb"
yann@96
    23
    default n
yann@96
    24
    help
yann@96
    25
      Build and install a native gdb for the target, to run on the target.
yann@96
    26
yann@96
    27
choice
yann@96
    28
    bool
yann@96
    29
    prompt "gdb version"
yann@96
    30
yann@96
    31
config GDB_V_snapshot
yann@96
    32
    bool
yann@96
    33
    prompt "snapshot"
yann@96
    34
    depends on EXPERIMENTAL
yann@96
    35
yann@96
    36
config GDB_V_6_2_1
yann@96
    37
    bool
yann@96
    38
    prompt "6.2.1"
yann@96
    39
    depends on OBSOLETE
yann@96
    40
yann@96
    41
config GDB_V_6_3
yann@96
    42
    bool
yann@96
    43
    prompt "6.3"
yann@96
    44
    depends on OBSOLETE
yann@96
    45
yann@96
    46
config GDB_V_6_4
yann@96
    47
    bool
yann@96
    48
    prompt "6.4"
yann@96
    49
    depends on OBSOLETE
yann@96
    50
yann@96
    51
config GDB_V_6_5
yann@96
    52
    bool
yann@96
    53
    prompt "6.5"
yann@96
    54
yann@96
    55
config GDB_V_6_6
yann@96
    56
    bool
yann@96
    57
    prompt "6.6"
yann@96
    58
yann@96
    59
# CT_INSERT_VERSION_ABOVE
yann@96
    60
# Don't remove above line!
yann@96
    61
endchoice
yann@96
    62
yann@96
    63
config GDB_VERSION
yann@96
    64
    string
yann@96
    65
    default "snapshot" if GDB_V_snapshot
yann@96
    66
    default "6.2.1" if GDB_V_6_2_1
yann@96
    67
    default "6.3" if GDB_V_6_3
yann@96
    68
    default "6.4" if GDB_V_6_4
yann@96
    69
    default "6.5" if GDB_V_6_5
yann@96
    70
    default "6.6" if GDB_V_6_6
yann@96
    71
# CT_INSERT_VERSION_STRING_ABOVE
yann@96
    72
# Don't remove above line!
yann@96
    73
yann@96
    74
endif
yann@96
    75