summaryrefslogtreecommitdiff
path: root/config/debug/gdb.in
blob: dd655bfec05902465dc80bec93cc25f2866c50ae (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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# GDB menu

menuconfig GDB
    bool
    prompt "gdb"
    default n
    help
      Enable gdb for the target

if GDB

config GDB_CROSS
    bool
    prompt "Cross-gdb"
    default y
    help
      Build and install a cross-gdb for the target, and to run on host.

config GDB_CROSS_STATIC_GDB
    bool
    prompt "Build a static cross gdb"
    default n
    depends on GDB_CROSS
    help
      A static cross gdb can be usefull if you debug on a machine that is
      not the one that is used to compile.

config GDB_CROSS_STATIC_GDBSERVER
    bool
    prompt "Build a static gdbserver"
    default n
    depends on GDB_CROSS
    help
      In case you have trouble with dynamic loading of shared libraries,
      you will find that a static gdbserver comes in handy.

config GDB_NATIVE
    bool
    prompt "Native gdb (EXPERIMENTAL)"
    default n
    depends on EXPERIMENTAL
    help
      Build and install a native gdb for the target, to run on the target.

choice
    bool
    prompt "gdb version"

config GDB_V_snapshot
    bool
    prompt "snapshot (EXPERIMENTAL)"
    depends on EXPERIMENTAL

config GDB_V_6_4
    bool
    prompt "6.4 (OBSOLETE)"
    depends on OBSOLETE

config GDB_V_6_5
    bool
    prompt "6.5"

config GDB_V_6_6
    bool
    prompt "6.6"

config GDB_V_6_7
    bool
    prompt "6.7 (EXPERIMENTAL)"
    depends on EXPERIMENTAL

config GDB_V_6_7_1
    bool
    prompt "6.7.1 (EXPERIMENTAL)"
    depends on EXPERIMENTAL

config GDB_V_6_8
    bool
    prompt "6.8 (EXPERIMENTAL)"
    depends on EXPERIMENTAL

# CT_INSERT_VERSION_ABOVE
# Don't remove above line!
endchoice

config GDB_VERSION
    string
    default "snapshot" if GDB_V_snapshot
    default "6.4" if GDB_V_6_4
    default "6.5" if GDB_V_6_5
    default "6.6" if GDB_V_6_6
    default "6.7" if GDB_V_6_7
    default "6.7.1" if GDB_V_6_7_1
    default "6.8" if GDB_V_6_8
# CT_INSERT_VERSION_STRING_ABOVE
# Don't remove above line!

endif