blob: 41702bf89341d5eae14dfad5e049ac14a57299b8 (
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
|
# GDB menu
config DEBUG_gdb
help
Enable gdb for the target
config GDB_CROSS
bool
prompt "Cross-gdb"
default y
select GDB_GDBSERVER if ! BARE_METAL
help
Build and install a cross-gdb for the target, to run on host.
config GDB_CROSS_STATIC
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 the toolchain.
That way, you can share the cross-gdb without installing a toolchain
on every machine that will be used to debug target programs.
config GDB_CROSS_INSIGHT
bool
prompt "Use Insight instead (EXPERIMENTAL)"
default n
depends on GDB_CROSS
depends on EXPERIMENTAL
help
If you say 'Y' here, then Insight will be used to build the cross
debugger, instead of the plain gdb.
Insight is gdb plus a TCL/TK GUI: http://sourceware.org/insight/
config GDB_NATIVE
bool
prompt "Native gdb"
default n
depends on ! BARE_METAL
help
Build and install a native gdb for the target, to run on the target.
config GDB_NATIVE_STATIC
bool
prompt "Build a static native gdb"
default n
depends on GDB_NATIVE
help
In case you have trouble with dynamic loading of shared libraries,
you will find that a static gdb comes in handy.
config GDB_NATIVE_USE_GMP_MPFR
bool
prompt "Use GMP and MPFR"
default n
depends on GDB_NATIVE
select GMP_MPFR
select GMP_MPFR_TARGET
help
gdb can make use of the GMP and MPFR libraries.
While the cross-gdb (above) can use the libraries compiled for the
host, the native gdb needs the libraries for the target (where it will
eventually run).
Setting this option will force building the GMP and MPFR libraries for
the target, and configure the native gdb to use them.
config GDB_GDBSERVER
bool
prompt "gdbserver"
default n
depends on ! BARE_METAL
help
Build and install a gdbserver for the target, to run on the target.
config GDB_GDBSERVER_STATIC
bool
prompt "Build a static gdbserver"
default y
depends on GDB_GDBSERVER
help
In case you have trouble with dynamic loading of shared libraries,
you will find that a static gdbserver comes in handy.
choice
bool
prompt "gdb version"
depends on GDB_CROSS || GDB_NATIVE || GDB_GDBSERVER
config GDB_V_6_4
bool
prompt "6.4 (OBSOLETE)"
depends on OBSOLETE
config GDB_V_6_5
bool
prompt "6.5 (OBSOLETE)"
depends on OBSOLETE
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"
# CT_INSERT_VERSION_ABOVE
# Don't remove above line!
config GDB_V_snapshot
bool
prompt "snapshot (EXPERIMENTAL)"
depends on EXPERIMENTAL
depends on ! GDB_CROSS_INSIGHT
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!
if GDB_NATIVE
comment "Native gdb needs the ncurses library on the target"
choice
bool
prompt "ncurses version"
config NCURSES_V_5_6
bool
prompt "5.6"
endchoice
config NCURSES_VERSION
string
default "5.6" if NCURSES_V_5_6
endif # GDB_NATIVE --> ncurses
|