config/debug/gdb.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed May 18 23:00:46 2011 +0200 (2011-05-18)
changeset 2467 200836977ce6
parent 2421 4f3f430fc7aa
child 2478 91fb35743a44
permissions -rw-r--r--
config: rename variables that are arrays

Make it explicit that a variable is an array bu the name of the variable.
It will be used later when .config gets munged to allow both multiple
arguments and arguments with spaces at the same time to be passed from the
configuration down to the build scripts.

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