1 |
578 |
markom |
This is ./gdb.info, produced by makeinfo version 4.0 from gdb.texinfo.
|
2 |
|
|
|
3 |
|
|
INFO-DIR-SECTION Programming & development tools.
|
4 |
|
|
START-INFO-DIR-ENTRY
|
5 |
|
|
* Gdb: (gdb). The GNU debugger.
|
6 |
|
|
END-INFO-DIR-ENTRY
|
7 |
|
|
|
8 |
|
|
This file documents the GNU debugger GDB.
|
9 |
|
|
|
10 |
|
|
This is the Ninth Edition, April 2001, of `Debugging with GDB: the
|
11 |
|
|
GNU Source-Level Debugger' for GDB Version 20010707.
|
12 |
|
|
|
13 |
|
|
Copyright (C)
|
14 |
|
|
1988,1989,1990,1991,1992,1993,1994,1995,1996,1998,1999,2000,2001
|
15 |
|
|
Free Software Foundation, Inc.
|
16 |
|
|
|
17 |
|
|
Permission is granted to copy, distribute and/or modify this document
|
18 |
|
|
under the terms of the GNU Free Documentation License, Version 1.1 or
|
19 |
|
|
any later version published by the Free Software Foundation; with the
|
20 |
|
|
Invariant Sections being "A Sample GDB Session" and "Free Software",
|
21 |
|
|
with the Front-Cover texts being "A GNU Manual," and with the
|
22 |
|
|
Back-Cover Texts as in (a) below.
|
23 |
|
|
|
24 |
|
|
(a) The FSF's Back-Cover Text is: "You have freedom to copy and
|
25 |
|
|
modify this GNU Manual, like GNU software. Copies published by the Free
|
26 |
|
|
Software Foundation raise funds for GNU development."
|
27 |
|
|
|
28 |
|
|
|
29 |
|
|
Indirect:
|
30 |
|
|
gdb.info-1: 1073
|
31 |
|
|
gdb.info-2: 50294
|
32 |
|
|
gdb.info-3: 95591
|
33 |
|
|
gdb.info-4: 144308
|
34 |
|
|
gdb.info-5: 194187
|
35 |
|
|
gdb.info-6: 243011
|
36 |
|
|
gdb.info-7: 284891
|
37 |
|
|
gdb.info-8: 320196
|
38 |
|
|
gdb.info-9: 369909
|
39 |
|
|
gdb.info-10: 417742
|
40 |
|
|
gdb.info-11: 464146
|
41 |
|
|
gdb.info-12: 510460
|
42 |
|
|
gdb.info-13: 558241
|
43 |
|
|
gdb.info-14: 607501
|
44 |
|
|
|
45 |
|
|
Tag Table:
|
46 |
|
|
(Indirect)
|
47 |
|
|
Node: Top1073
|
48 |
|
|
Node: Summary2886
|
49 |
|
|
Node: Free Software4447
|
50 |
|
|
Node: Contributors5185
|
51 |
|
|
Node: Sample Session11425
|
52 |
|
|
Node: Invocation18299
|
53 |
|
|
Node: Invoking GDB18772
|
54 |
|
|
Node: File Options20715
|
55 |
|
|
Node: Mode Options24045
|
56 |
|
|
Ref: Mode Options-Footnote-129034
|
57 |
|
|
Node: Quitting GDB29180
|
58 |
|
|
Node: Shell Commands30063
|
59 |
|
|
Node: Commands30877
|
60 |
|
|
Node: Command Syntax31514
|
61 |
|
|
Node: Completion33373
|
62 |
|
|
Node: Help37703
|
63 |
|
|
Node: Running42951
|
64 |
|
|
Node: Compilation44060
|
65 |
|
|
Node: Starting45856
|
66 |
|
|
Node: Arguments49029
|
67 |
|
|
Node: Environment50294
|
68 |
|
|
Node: Working Directory53558
|
69 |
|
|
Node: Input/Output54298
|
70 |
|
|
Node: Attach55903
|
71 |
|
|
Node: Kill Process58331
|
72 |
|
|
Node: Threads59289
|
73 |
|
|
Node: Processes65178
|
74 |
|
|
Node: Stopping68164
|
75 |
|
|
Node: Breakpoints69310
|
76 |
|
|
Node: Set Breaks72513
|
77 |
|
|
Node: Set Watchpoints81729
|
78 |
|
|
Node: Set Catchpoints87754
|
79 |
|
|
Node: Delete Breaks91222
|
80 |
|
|
Node: Disabling92904
|
81 |
|
|
Node: Conditions95591
|
82 |
|
|
Node: Break Commands100531
|
83 |
|
|
Node: Breakpoint Menus103407
|
84 |
|
|
Node: Error in Breakpoints105112
|
85 |
|
|
Node: Continuing and Stepping106645
|
86 |
|
|
Node: Signals114778
|
87 |
|
|
Node: Thread Stops118906
|
88 |
|
|
Node: Stack122227
|
89 |
|
|
Node: Frames123701
|
90 |
|
|
Node: Backtrace126424
|
91 |
|
|
Node: Selection128156
|
92 |
|
|
Node: Frame Info130892
|
93 |
|
|
Node: Source133217
|
94 |
|
|
Node: List134167
|
95 |
|
|
Node: Search137693
|
96 |
|
|
Node: Source Path138496
|
97 |
|
|
Node: Machine Code141313
|
98 |
|
|
Node: Data144308
|
99 |
|
|
Node: Expressions146252
|
100 |
|
|
Node: Variables148179
|
101 |
|
|
Node: Arrays151834
|
102 |
|
|
Node: Output Formats154358
|
103 |
|
|
Ref: Output Formats-Footnote-1156372
|
104 |
|
|
Node: Memory156529
|
105 |
|
|
Node: Auto Display160805
|
106 |
|
|
Node: Print Settings164573
|
107 |
|
|
Node: Value History174668
|
108 |
|
|
Node: Convenience Vars177079
|
109 |
|
|
Node: Registers180065
|
110 |
|
|
Ref: Registers-Footnote-1183709
|
111 |
|
|
Node: Floating Point Hardware184104
|
112 |
|
|
Node: Memory Region Attributes184640
|
113 |
|
|
Node: Tracepoints187740
|
114 |
|
|
Node: Set Tracepoints189256
|
115 |
|
|
Node: Create and Delete Tracepoints190448
|
116 |
|
|
Node: Enable and Disable Tracepoints192128
|
117 |
|
|
Node: Tracepoint Passcounts192813
|
118 |
|
|
Node: Tracepoint Actions194187
|
119 |
|
|
Node: Listing Tracepoints197200
|
120 |
|
|
Node: Starting and Stopping Trace Experiment198309
|
121 |
|
|
Node: Analyze Collected Data199473
|
122 |
|
|
Node: tfind200771
|
123 |
|
|
Node: tdump205163
|
124 |
|
|
Node: save-tracepoints206831
|
125 |
|
|
Node: Tracepoint Variables207239
|
126 |
|
|
Node: Languages208249
|
127 |
|
|
Node: Setting209358
|
128 |
|
|
Node: Filenames211053
|
129 |
|
|
Node: Manually211790
|
130 |
|
|
Node: Automatically212988
|
131 |
|
|
Node: Show214039
|
132 |
|
|
Node: Checks215337
|
133 |
|
|
Node: Type Checking216693
|
134 |
|
|
Node: Range Checking219391
|
135 |
|
|
Node: Support221757
|
136 |
|
|
Node: C222693
|
137 |
|
|
Node: C Operators223848
|
138 |
|
|
Node: C Constants228214
|
139 |
|
|
Node: C plus plus expressions230686
|
140 |
|
|
Node: C Defaults234268
|
141 |
|
|
Node: C Checks234936
|
142 |
|
|
Node: Debugging C235644
|
143 |
|
|
Node: Debugging C plus plus236149
|
144 |
|
|
Node: Modula-2239138
|
145 |
|
|
Node: M2 Operators240039
|
146 |
|
|
Node: Built-In Func/Proc243011
|
147 |
|
|
Node: M2 Constants245775
|
148 |
|
|
Node: M2 Defaults247364
|
149 |
|
|
Node: Deviations247958
|
150 |
|
|
Node: M2 Checks249045
|
151 |
|
|
Node: M2 Scope249845
|
152 |
|
|
Node: GDB/M2250854
|
153 |
|
|
Node: Chill251751
|
154 |
|
|
Node: How modes are displayed252455
|
155 |
|
|
Node: Locations256293
|
156 |
|
|
Node: Values and their Operations258381
|
157 |
|
|
Ref: Values and their Operations-Footnote-1263259
|
158 |
|
|
Node: Chill type and range checks263439
|
159 |
|
|
Node: Chill defaults264404
|
160 |
|
|
Node: Symbols264982
|
161 |
|
|
Node: Altering274035
|
162 |
|
|
Node: Assignment275001
|
163 |
|
|
Node: Jumping278099
|
164 |
|
|
Node: Signaling280249
|
165 |
|
|
Node: Returning281370
|
166 |
|
|
Node: Calling282562
|
167 |
|
|
Node: Patching283356
|
168 |
|
|
Node: GDB Files284426
|
169 |
|
|
Node: Files284891
|
170 |
|
|
Node: Symbol Errors296060
|
171 |
|
|
Node: Targets299640
|
172 |
|
|
Node: Active Targets300646
|
173 |
|
|
Node: Target Commands302218
|
174 |
|
|
Node: Byte Order306575
|
175 |
|
|
Node: Remote307559
|
176 |
|
|
Node: Remote Serial308552
|
177 |
|
|
Node: Stub Contents311145
|
178 |
|
|
Node: Bootstrapping313247
|
179 |
|
|
Node: Debug Session317047
|
180 |
|
|
Node: Protocol320196
|
181 |
|
|
Node: Server353392
|
182 |
|
|
Ref: Server-Footnote-1357318
|
183 |
|
|
Node: NetWare357438
|
184 |
|
|
Node: KOD359397
|
185 |
|
|
Node: Configurations360517
|
186 |
|
|
Node: Native361274
|
187 |
|
|
Node: HP-UX361549
|
188 |
|
|
Node: SVR4 Process Information361831
|
189 |
|
|
Node: Embedded OS363243
|
190 |
|
|
Node: VxWorks363712
|
191 |
|
|
Node: VxWorks Connection365914
|
192 |
|
|
Node: VxWorks Download366833
|
193 |
|
|
Node: VxWorks Attach368553
|
194 |
|
|
Node: Embedded Processors368936
|
195 |
|
|
Node: A29K Embedded369909
|
196 |
|
|
Node: A29K UDI370605
|
197 |
|
|
Node: A29K EB29K371446
|
198 |
|
|
Node: Comms (EB29K)372095
|
199 |
|
|
Node: gdb-EB29K375294
|
200 |
|
|
Node: Remote Log376661
|
201 |
|
|
Node: ARM377137
|
202 |
|
|
Node: H8/300377503
|
203 |
|
|
Node: Hitachi Boards378987
|
204 |
|
|
Node: Hitachi ICE383410
|
205 |
|
|
Node: Hitachi Special384190
|
206 |
|
|
Node: H8/500384624
|
207 |
|
|
Node: i960384982
|
208 |
|
|
Node: Nindy Startup386115
|
209 |
|
|
Node: Nindy Options386787
|
210 |
|
|
Node: Nindy Reset388388
|
211 |
|
|
Node: M32R/D388759
|
212 |
|
|
Node: M68K388936
|
213 |
|
|
Node: M88K389724
|
214 |
|
|
Node: MIPS Embedded389898
|
215 |
|
|
Node: PowerPC394380
|
216 |
|
|
Node: PA394694
|
217 |
|
|
Node: SH394959
|
218 |
|
|
Node: Sparclet395403
|
219 |
|
|
Node: Sparclet File396862
|
220 |
|
|
Node: Sparclet Connection397727
|
221 |
|
|
Node: Sparclet Download398190
|
222 |
|
|
Node: Sparclet Execution399224
|
223 |
|
|
Node: Sparclite399800
|
224 |
|
|
Node: ST2000400159
|
225 |
|
|
Node: Z8000401686
|
226 |
|
|
Node: Architectures403041
|
227 |
|
|
Node: A29K403331
|
228 |
|
|
Node: Alpha404142
|
229 |
|
|
Node: MIPS404264
|
230 |
|
|
Node: Controlling GDB405234
|
231 |
|
|
Node: Prompt405932
|
232 |
|
|
Node: Editing406704
|
233 |
|
|
Node: History407473
|
234 |
|
|
Node: Screen Size410206
|
235 |
|
|
Node: Numbers411666
|
236 |
|
|
Node: Messages/Warnings413068
|
237 |
|
|
Node: Debugging Output415101
|
238 |
|
|
Node: Sequences417162
|
239 |
|
|
Node: Define417742
|
240 |
|
|
Node: Hooks420908
|
241 |
|
|
Node: Command Files423110
|
242 |
|
|
Ref: Command Files-Footnote-1425245
|
243 |
|
|
Node: Output425354
|
244 |
|
|
Node: Emacs427761
|
245 |
|
|
Node: Annotations433717
|
246 |
|
|
Node: Annotations Overview434841
|
247 |
|
|
Node: Server Prefix436623
|
248 |
|
|
Node: Value Annotations437272
|
249 |
|
|
Node: Frame Annotations440357
|
250 |
|
|
Node: Displays444010
|
251 |
|
|
Node: Prompting444955
|
252 |
|
|
Node: Errors446460
|
253 |
|
|
Node: Breakpoint Info447349
|
254 |
|
|
Node: Invalidation448480
|
255 |
|
|
Node: Annotations for Running448959
|
256 |
|
|
Node: Source Annotations450472
|
257 |
|
|
Node: TODO451403
|
258 |
|
|
Node: GDB/MI451985
|
259 |
|
|
Node: GDB/MI Command Syntax453605
|
260 |
|
|
Node: GDB/MI Input Syntax453835
|
261 |
|
|
Node: GDB/MI Output Syntax455375
|
262 |
|
|
Node: GDB/MI Simple Examples458813
|
263 |
|
|
Node: GDB/MI Compatibility with CLI459915
|
264 |
|
|
Node: GDB/MI Output Records460639
|
265 |
|
|
Node: GDB/MI Result Records460918
|
266 |
|
|
Node: GDB/MI Stream Records461538
|
267 |
|
|
Node: GDB/MI Out-of-band Records462668
|
268 |
|
|
Node: GDB/MI Command Description Format463163
|
269 |
|
|
Node: GDB/MI Breakpoint Table Commands464146
|
270 |
|
|
Node: GDB/MI Data Manipulation479333
|
271 |
|
|
Node: GDB/MI Program Control496453
|
272 |
|
|
Node: GDB/MI Miscellaneous Commands508645
|
273 |
|
|
Node: GDB/MI Stack Manipulation510460
|
274 |
|
|
Node: GDB/MI Symbol Query517910
|
275 |
|
|
Node: GDB/MI Target Manipulation520756
|
276 |
|
|
Node: GDB/MI Thread Commands527572
|
277 |
|
|
Node: GDB/MI Tracepoint Commands529666
|
278 |
|
|
Node: GDB/MI Variable Objects529903
|
279 |
|
|
Node: GDB Bugs537411
|
280 |
|
|
Node: Bug Criteria538134
|
281 |
|
|
Node: Bug Reporting539004
|
282 |
|
|
Node: Command Line Editing546284
|
283 |
|
|
Node: Introduction and Notation546949
|
284 |
|
|
Node: Readline Interaction548560
|
285 |
|
|
Node: Readline Bare Essentials549748
|
286 |
|
|
Node: Readline Movement Commands551524
|
287 |
|
|
Node: Readline Killing Commands552476
|
288 |
|
|
Node: Readline Arguments554377
|
289 |
|
|
Node: Searching555347
|
290 |
|
|
Node: Readline Init File557185
|
291 |
|
|
Node: Readline Init File Syntax558241
|
292 |
|
|
Node: Conditional Init Constructs567499
|
293 |
|
|
Node: Sample Init File569933
|
294 |
|
|
Node: Bindable Readline Commands573098
|
295 |
|
|
Node: Commands For Moving574137
|
296 |
|
|
Node: Commands For History574981
|
297 |
|
|
Node: Commands For Text577693
|
298 |
|
|
Node: Commands For Killing579691
|
299 |
|
|
Node: Numeric Arguments581653
|
300 |
|
|
Node: Commands For Completion582775
|
301 |
|
|
Node: Keyboard Macros584518
|
302 |
|
|
Node: Miscellaneous Commands585072
|
303 |
|
|
Node: Readline vi Mode587871
|
304 |
|
|
Node: Using History Interactively588714
|
305 |
|
|
Node: History Interaction589110
|
306 |
|
|
Node: Event Designators590525
|
307 |
|
|
Node: Word Designators591448
|
308 |
|
|
Node: Modifiers593073
|
309 |
|
|
Node: Formatting Documentation594207
|
310 |
|
|
Ref: Formatting Documentation-Footnote-1597528
|
311 |
|
|
Node: Installing GDB597602
|
312 |
|
|
Node: Separate Objdir601152
|
313 |
|
|
Node: Config Names603719
|
314 |
|
|
Node: Configure Options605169
|
315 |
|
|
Node: Index607501
|
316 |
|
|
|
317 |
|
|
End Tag Table
|