summaryrefslogtreecommitdiff
path: root/config/debug/gdb.in
blob: e9418b52a01e56ebf0c6f89daeb96b42e27fe3d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# GDB menu

config DEBUG_gdb
    help
      Enable gdb for the target

source "config/debug/gdb.in.cross"
source "config/debug/gdb.in.native"
source "config/debug/gdb.in.gdbserver"

choice
    bool
    prompt "gdb version"
    depends on GDB_CROSS || GDB_NATIVE || GDB_GDBSERVER
# Don't remove next line
# CT_INSERT_VERSION_BELOW

config GDB_V_linaro_7_2_2011_02_0
    bool
    prompt "linaro-7.2-2011.02-0 (EXPERIMENTAL)"
    depends on EXPERIMENTAL
    select GDB_7_0_or_later

config GDB_V_7_2
    bool
    prompt "7.2 (EXPERIMENTAL)"
    depends on EXPERIMENTAL
    select GDB_7_0_or_later

config GDB_V_7_1
    bool
    prompt "7.1 (EXPERIMENTAL)"
    depends on EXPERIMENTAL
    select GDB_7_0_or_later

config GDB_V_7_0_1
    bool
    prompt "7.0.1 (EXPERIMENTAL)"
    depends on EXPERIMENTAL
    select GDB_7_0_or_later

config GDB_V_7_0
    bool
    prompt "7.0 (EXPERIMENTAL)"
    depends on EXPERIMENTAL
    select GDB_7_0_or_later

config GDB_V_6_8
    bool
    prompt "6.8"

endchoice

config GDB_7_0_or_later
    bool

config GDB_VERSION
    string
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
    default "linaro-7.2-2011.02-0" if GDB_V_linaro_7_2_2011_02_0
    default "7.2" if GDB_V_7_2
    default "7.1" if GDB_V_7_1
    default "7.0.1" if GDB_V_7_0_1
    default "7.0" if GDB_V_7_0
    default "6.8" if GDB_V_6_8