config/debug/gdb.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Apr 28 00:21:27 2011 +0200 (2011-04-28)
changeset 2417 6c3e0ce9fc3a
parent 2303 88871c8621b8
child 2418 f530baf5098e
permissions -rw-r--r--
debug/gdb: hide Linaro options by default

It can be quite confusing for a new-comer to find strange
version numbers for gdb, so hide the Linaro versions by
default.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 # GDB menu
     2 
     3 config DEBUG_gdb
     4     help
     5       Enable gdb for the target
     6 
     7 source "config/debug/gdb.in.cross"
     8 source "config/debug/gdb.in.native"
     9 source "config/debug/gdb.in.gdbserver"
    10 
    11 if GDB_CROSS || GDB_NATIVE || GDB_GDBSERVER
    12 
    13 comment "gdb version"
    14 
    15 config DEBUG_GDB_SHOW_LINARO
    16     bool
    17     prompt "Show Linaro versions (EXPERIMENTAL)"
    18     depends on EXPERIMENTAL
    19     help
    20       Linaro is maintaining some advanced/more stable/experimental versions
    21       of gdb, especially for the ARM architecture.
    22 
    23       Those versions have not been blessed by the gdb community (nor have they
    24       been cursed either!), but they look to be pretty much stable, and even
    25       more stable than the upstream versions. YMMV...
    26 
    27       If you do not know what this Linaro stuff is, then simply say 'n' here,
    28       and rest in peace. OTOH, if you know what you are doing, you will be
    29       able to use and enjoy :-) the Linaro versions by saying 'y' here.
    30 
    31       Linaro: http://www.linaro.org/
    32 
    33 choice
    34     bool
    35     prompt "gdb version"
    36 # Don't remove next line
    37 # CT_INSERT_VERSION_BELOW
    38 
    39 config GDB_V_linaro_7_2_2011_02_0
    40     bool
    41     prompt "linaro-7.2-2011.02-0 (EXPERIMENTAL)"
    42     depends on DEBUG_GDB_SHOW_LINARO
    43     select GDB_7_0_or_later
    44 
    45 config GDB_V_7_2
    46     bool
    47     prompt "7.2 (EXPERIMENTAL)"
    48     depends on EXPERIMENTAL
    49     select GDB_7_0_or_later
    50 
    51 config GDB_V_7_1
    52     bool
    53     prompt "7.1 (EXPERIMENTAL)"
    54     depends on EXPERIMENTAL
    55     select GDB_7_0_or_later
    56 
    57 config GDB_V_7_0_1
    58     bool
    59     prompt "7.0.1 (EXPERIMENTAL)"
    60     depends on EXPERIMENTAL
    61     select GDB_7_0_or_later
    62 
    63 config GDB_V_7_0
    64     bool
    65     prompt "7.0 (EXPERIMENTAL)"
    66     depends on EXPERIMENTAL
    67     select GDB_7_0_or_later
    68 
    69 config GDB_V_6_8
    70     bool
    71     prompt "6.8"
    72 
    73 endchoice
    74 
    75 config GDB_7_0_or_later
    76     bool
    77 
    78 config GDB_VERSION
    79     string
    80 # Don't remove next line
    81 # CT_INSERT_VERSION_STRING_BELOW
    82     default "linaro-7.2-2011.02-0" if GDB_V_linaro_7_2_2011_02_0
    83     default "7.2" if GDB_V_7_2
    84     default "7.1" if GDB_V_7_1
    85     default "7.0.1" if GDB_V_7_0_1
    86     default "7.0" if GDB_V_7_0
    87     default "6.8" if GDB_V_6_8
    88 
    89 endif