1 |
1181 |
sfurman |
This is gdb.info, produced by makeinfo version 4.1 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, December 2001, of `Debugging with GDB:
|
11 |
|
|
the GNU Source-Level Debugger' for GDB Version 5.3.
|
12 |
|
|
|
13 |
|
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996,
|
14 |
|
|
1998,
|
15 |
|
|
1999, 2000, 2001, 2002 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 "Free Software" and "Free Software Needs Free
|
21 |
|
|
Documentation", with the Front-Cover Texts being "A GNU Manual," and
|
22 |
|
|
with the Back-Cover Texts as in (a) below.
|
23 |
|
|
|
24 |
|
|
(a) The Free Software Foundation's Back-Cover Text is: "You have
|
25 |
|
|
freedom to copy and modify this GNU Manual, like GNU software. Copies
|
26 |
|
|
published by the Free Software Foundation raise funds for GNU
|
27 |
|
|
development."
|
28 |
|
|
|
29 |
|
|
|
30 |
|
|
Indirect:
|
31 |
|
|
gdb.info-1: 1128
|
32 |
|
|
gdb.info-2: 50842
|
33 |
|
|
gdb.info-3: 99378
|
34 |
|
|
gdb.info-4: 147787
|
35 |
|
|
gdb.info-5: 197487
|
36 |
|
|
gdb.info-6: 246850
|
37 |
|
|
gdb.info-7: 293862
|
38 |
|
|
gdb.info-8: 342699
|
39 |
|
|
gdb.info-9: 392066
|
40 |
|
|
gdb.info-10: 439676
|
41 |
|
|
gdb.info-11: 481798
|
42 |
|
|
gdb.info-12: 530037
|
43 |
|
|
gdb.info-13: 577415
|
44 |
|
|
gdb.info-14: 625969
|
45 |
|
|
gdb.info-15: 672182
|
46 |
|
|
|
47 |
|
|
Tag Table:
|
48 |
|
|
(Indirect)
|
49 |
|
|
Node: Top1128
|
50 |
|
|
Node: Summary3466
|
51 |
|
|
Node: Free Software4971
|
52 |
|
|
Node: Contributors10545
|
53 |
|
|
Node: Sample Session16880
|
54 |
|
|
Node: Invocation23749
|
55 |
|
|
Node: Invoking GDB24222
|
56 |
|
|
Node: File Options26469
|
57 |
|
|
Node: Mode Options30103
|
58 |
|
|
Ref: Mode Options-Footnote-135596
|
59 |
|
|
Node: Quitting GDB35742
|
60 |
|
|
Node: Shell Commands36625
|
61 |
|
|
Node: Commands37439
|
62 |
|
|
Node: Command Syntax38076
|
63 |
|
|
Node: Completion40155
|
64 |
|
|
Node: Help44485
|
65 |
|
|
Node: Running49733
|
66 |
|
|
Node: Compilation50842
|
67 |
|
|
Node: Starting53178
|
68 |
|
|
Node: Arguments56351
|
69 |
|
|
Node: Environment57616
|
70 |
|
|
Node: Working Directory60880
|
71 |
|
|
Node: Input/Output61620
|
72 |
|
|
Node: Attach63225
|
73 |
|
|
Node: Kill Process65653
|
74 |
|
|
Node: Threads66611
|
75 |
|
|
Node: Processes72500
|
76 |
|
|
Node: Stopping75486
|
77 |
|
|
Node: Breakpoints76632
|
78 |
|
|
Node: Set Breaks79835
|
79 |
|
|
Node: Set Watchpoints88199
|
80 |
|
|
Node: Set Catchpoints94228
|
81 |
|
|
Node: Delete Breaks97696
|
82 |
|
|
Node: Disabling99378
|
83 |
|
|
Node: Conditions102065
|
84 |
|
|
Node: Break Commands107005
|
85 |
|
|
Node: Breakpoint Menus109881
|
86 |
|
|
Node: Error in Breakpoints111586
|
87 |
|
|
Node: Continuing and Stepping113119
|
88 |
|
|
Node: Signals121252
|
89 |
|
|
Node: Thread Stops125380
|
90 |
|
|
Node: Stack128701
|
91 |
|
|
Node: Frames130175
|
92 |
|
|
Node: Backtrace132898
|
93 |
|
|
Node: Selection134630
|
94 |
|
|
Node: Frame Info137366
|
95 |
|
|
Node: Source139691
|
96 |
|
|
Node: List140641
|
97 |
|
|
Node: Search144167
|
98 |
|
|
Node: Source Path144970
|
99 |
|
|
Node: Machine Code147787
|
100 |
|
|
Node: Data150782
|
101 |
|
|
Node: Expressions152828
|
102 |
|
|
Node: Variables154791
|
103 |
|
|
Node: Arrays158446
|
104 |
|
|
Node: Output Formats160970
|
105 |
|
|
Ref: Output Formats-Footnote-1162984
|
106 |
|
|
Node: Memory163141
|
107 |
|
|
Node: Auto Display167417
|
108 |
|
|
Node: Print Settings171185
|
109 |
|
|
Node: Value History181280
|
110 |
|
|
Node: Convenience Vars183691
|
111 |
|
|
Node: Registers186677
|
112 |
|
|
Ref: Registers-Footnote-1190321
|
113 |
|
|
Node: Floating Point Hardware190716
|
114 |
|
|
Node: Vector Unit191239
|
115 |
|
|
Node: Memory Region Attributes191627
|
116 |
|
|
Node: Dump/Restore Files194915
|
117 |
|
|
Node: Macros197487
|
118 |
|
|
Node: Tracepoints204326
|
119 |
|
|
Node: Set Tracepoints206056
|
120 |
|
|
Node: Create and Delete Tracepoints207248
|
121 |
|
|
Node: Enable and Disable Tracepoints208928
|
122 |
|
|
Node: Tracepoint Passcounts209613
|
123 |
|
|
Node: Tracepoint Actions210950
|
124 |
|
|
Node: Listing Tracepoints213956
|
125 |
|
|
Node: Starting and Stopping Trace Experiment215063
|
126 |
|
|
Node: Analyze Collected Data216227
|
127 |
|
|
Node: tfind217525
|
128 |
|
|
Node: tdump221917
|
129 |
|
|
Node: save-tracepoints223585
|
130 |
|
|
Node: Tracepoint Variables223993
|
131 |
|
|
Node: Overlays225003
|
132 |
|
|
Node: How Overlays Work225721
|
133 |
|
|
Ref: A code overlay226819
|
134 |
|
|
Node: Overlay Commands231717
|
135 |
|
|
Node: Automatic Overlay Debugging235895
|
136 |
|
|
Node: Overlay Sample Program238058
|
137 |
|
|
Node: Languages239811
|
138 |
|
|
Node: Setting240917
|
139 |
|
|
Node: Filenames242612
|
140 |
|
|
Node: Manually243303
|
141 |
|
|
Node: Automatically244501
|
142 |
|
|
Node: Show245552
|
143 |
|
|
Node: Checks246850
|
144 |
|
|
Node: Type Checking248206
|
145 |
|
|
Node: Range Checking250904
|
146 |
|
|
Node: Support253270
|
147 |
|
|
Node: C254177
|
148 |
|
|
Node: C Operators255332
|
149 |
|
|
Node: C Constants259698
|
150 |
|
|
Node: C plus plus expressions262170
|
151 |
|
|
Node: C Defaults265752
|
152 |
|
|
Node: C Checks266420
|
153 |
|
|
Node: Debugging C267128
|
154 |
|
|
Node: Debugging C plus plus267633
|
155 |
|
|
Node: Modula-2270622
|
156 |
|
|
Node: M2 Operators271509
|
157 |
|
|
Node: Built-In Func/Proc274481
|
158 |
|
|
Node: M2 Constants277245
|
159 |
|
|
Node: M2 Defaults278834
|
160 |
|
|
Node: Deviations279428
|
161 |
|
|
Node: M2 Checks280515
|
162 |
|
|
Node: M2 Scope281315
|
163 |
|
|
Node: GDB/M2282324
|
164 |
|
|
Node: Symbols283221
|
165 |
|
|
Node: Altering292896
|
166 |
|
|
Node: Assignment293862
|
167 |
|
|
Node: Jumping296960
|
168 |
|
|
Node: Signaling299110
|
169 |
|
|
Node: Returning300231
|
170 |
|
|
Node: Calling301423
|
171 |
|
|
Node: Patching301897
|
172 |
|
|
Node: GDB Files302967
|
173 |
|
|
Node: Files303432
|
174 |
|
|
Node: Symbol Errors319593
|
175 |
|
|
Node: Targets323173
|
176 |
|
|
Node: Active Targets324181
|
177 |
|
|
Node: Target Commands325753
|
178 |
|
|
Node: Byte Order330110
|
179 |
|
|
Node: Remote331094
|
180 |
|
|
Node: KOD332018
|
181 |
|
|
Node: Remote Debugging333138
|
182 |
|
|
Node: Server333470
|
183 |
|
|
Ref: Server-Footnote-1337721
|
184 |
|
|
Node: NetWare337841
|
185 |
|
|
Node: remote stub339823
|
186 |
|
|
Node: Stub Contents342699
|
187 |
|
|
Node: Bootstrapping344799
|
188 |
|
|
Node: Debug Session348597
|
189 |
|
|
Node: Configurations352552
|
190 |
|
|
Node: Native353318
|
191 |
|
|
Node: HP-UX353717
|
192 |
|
|
Node: SVR4 Process Information353999
|
193 |
|
|
Node: DJGPP Native354906
|
194 |
|
|
Node: Cygwin Native360404
|
195 |
|
|
Node: Embedded OS362666
|
196 |
|
|
Node: VxWorks363135
|
197 |
|
|
Node: VxWorks Connection365337
|
198 |
|
|
Node: VxWorks Download366256
|
199 |
|
|
Node: VxWorks Attach367976
|
200 |
|
|
Node: Embedded Processors368359
|
201 |
|
|
Node: ARM369236
|
202 |
|
|
Node: H8/300369580
|
203 |
|
|
Node: Hitachi Boards371064
|
204 |
|
|
Node: Hitachi ICE375482
|
205 |
|
|
Node: Hitachi Special376262
|
206 |
|
|
Node: H8/500376696
|
207 |
|
|
Node: i960377054
|
208 |
|
|
Node: Nindy Startup378187
|
209 |
|
|
Node: Nindy Options378859
|
210 |
|
|
Node: Nindy Reset380460
|
211 |
|
|
Node: M32R/D380831
|
212 |
|
|
Node: M68K381008
|
213 |
|
|
Node: MIPS Embedded381805
|
214 |
|
|
Node: PowerPC386287
|
215 |
|
|
Node: PA386601
|
216 |
|
|
Node: SH386866
|
217 |
|
|
Node: Sparclet387310
|
218 |
|
|
Node: Sparclet File388769
|
219 |
|
|
Node: Sparclet Connection389634
|
220 |
|
|
Node: Sparclet Download390097
|
221 |
|
|
Node: Sparclet Execution391131
|
222 |
|
|
Node: Sparclite391707
|
223 |
|
|
Node: ST2000392066
|
224 |
|
|
Node: Z8000393593
|
225 |
|
|
Node: Architectures394948
|
226 |
|
|
Node: A29K395238
|
227 |
|
|
Node: Alpha396049
|
228 |
|
|
Node: MIPS396171
|
229 |
|
|
Node: Controlling GDB397141
|
230 |
|
|
Node: Prompt397839
|
231 |
|
|
Node: Editing398611
|
232 |
|
|
Node: History399380
|
233 |
|
|
Node: Screen Size402113
|
234 |
|
|
Node: Numbers403573
|
235 |
|
|
Node: Messages/Warnings404975
|
236 |
|
|
Node: Debugging Output407008
|
237 |
|
|
Node: Sequences409069
|
238 |
|
|
Node: Define409647
|
239 |
|
|
Node: Hooks413055
|
240 |
|
|
Node: Command Files415257
|
241 |
|
|
Ref: Command Files-Footnote-1417883
|
242 |
|
|
Ref: Command Files-Footnote-2418011
|
243 |
|
|
Node: Output418120
|
244 |
|
|
Node: TUI420527
|
245 |
|
|
Node: TUI Overview421251
|
246 |
|
|
Node: TUI Keys424325
|
247 |
|
|
Node: TUI Single Key Mode426481
|
248 |
|
|
Node: TUI Commands427321
|
249 |
|
|
Node: TUI Configuration428703
|
250 |
|
|
Node: Emacs430171
|
251 |
|
|
Node: Annotations436121
|
252 |
|
|
Node: Annotations Overview437245
|
253 |
|
|
Node: Server Prefix439027
|
254 |
|
|
Node: Value Annotations439676
|
255 |
|
|
Node: Frame Annotations442761
|
256 |
|
|
Node: Displays446414
|
257 |
|
|
Node: Prompting447359
|
258 |
|
|
Node: Errors448864
|
259 |
|
|
Node: Breakpoint Info449753
|
260 |
|
|
Node: Invalidation450884
|
261 |
|
|
Node: Annotations for Running451363
|
262 |
|
|
Node: Source Annotations452876
|
263 |
|
|
Node: TODO453807
|
264 |
|
|
Node: GDB/MI454389
|
265 |
|
|
Node: GDB/MI Command Syntax456009
|
266 |
|
|
Node: GDB/MI Input Syntax456239
|
267 |
|
|
Node: GDB/MI Output Syntax457779
|
268 |
|
|
Node: GDB/MI Simple Examples461217
|
269 |
|
|
Node: GDB/MI Compatibility with CLI462380
|
270 |
|
|
Node: GDB/MI Output Records463104
|
271 |
|
|
Node: GDB/MI Result Records463383
|
272 |
|
|
Node: GDB/MI Stream Records464003
|
273 |
|
|
Node: GDB/MI Out-of-band Records465133
|
274 |
|
|
Node: GDB/MI Command Description Format465628
|
275 |
|
|
Node: GDB/MI Breakpoint Table Commands466611
|
276 |
|
|
Node: GDB/MI Data Manipulation481798
|
277 |
|
|
Node: GDB/MI Program Control498918
|
278 |
|
|
Node: GDB/MI Miscellaneous Commands511110
|
279 |
|
|
Node: GDB/MI Stack Manipulation512925
|
280 |
|
|
Node: GDB/MI Symbol Query520375
|
281 |
|
|
Node: GDB/MI Target Manipulation523221
|
282 |
|
|
Node: GDB/MI Thread Commands530037
|
283 |
|
|
Node: GDB/MI Tracepoint Commands532131
|
284 |
|
|
Node: GDB/MI Variable Objects532368
|
285 |
|
|
Node: GDB Bugs539876
|
286 |
|
|
Node: Bug Criteria540599
|
287 |
|
|
Node: Bug Reporting541469
|
288 |
|
|
Node: Command Line Editing548711
|
289 |
|
|
Node: Introduction and Notation549376
|
290 |
|
|
Node: Readline Interaction550987
|
291 |
|
|
Node: Readline Bare Essentials552175
|
292 |
|
|
Node: Readline Movement Commands553951
|
293 |
|
|
Node: Readline Killing Commands554903
|
294 |
|
|
Node: Readline Arguments556804
|
295 |
|
|
Node: Searching557774
|
296 |
|
|
Node: Readline Init File559612
|
297 |
|
|
Node: Readline Init File Syntax560668
|
298 |
|
|
Node: Conditional Init Constructs569926
|
299 |
|
|
Node: Sample Init File572360
|
300 |
|
|
Node: Bindable Readline Commands575532
|
301 |
|
|
Node: Commands For Moving576571
|
302 |
|
|
Node: Commands For History577415
|
303 |
|
|
Node: Commands For Text580127
|
304 |
|
|
Node: Commands For Killing582125
|
305 |
|
|
Node: Numeric Arguments584087
|
306 |
|
|
Node: Commands For Completion585209
|
307 |
|
|
Node: Keyboard Macros586952
|
308 |
|
|
Node: Miscellaneous Commands587506
|
309 |
|
|
Node: Readline vi Mode590305
|
310 |
|
|
Node: Using History Interactively591148
|
311 |
|
|
Node: History Interaction591544
|
312 |
|
|
Node: Event Designators592959
|
313 |
|
|
Node: Word Designators593882
|
314 |
|
|
Node: Modifiers595507
|
315 |
|
|
Node: Formatting Documentation596641
|
316 |
|
|
Ref: Formatting Documentation-Footnote-1599942
|
317 |
|
|
Node: Installing GDB600006
|
318 |
|
|
Node: Separate Objdir603486
|
319 |
|
|
Node: Config Names606028
|
320 |
|
|
Node: Configure Options607468
|
321 |
|
|
Node: Maintenance Commands609800
|
322 |
|
|
Ref: maint info breakpoints610118
|
323 |
|
|
Node: Remote Protocol611408
|
324 |
|
|
Node: Overview611684
|
325 |
|
|
Node: Packets614993
|
326 |
|
|
Ref: read registers packet617711
|
327 |
|
|
Ref: cycle step packet618919
|
328 |
|
|
Ref: write register packet620909
|
329 |
|
|
Ref: general query packet621142
|
330 |
|
|
Ref: step with signal packet622257
|
331 |
|
|
Ref: insert breakpoint or watchpoint packet623563
|
332 |
|
|
Node: Stop Reply Packets624189
|
333 |
|
|
Node: General Query Packets625969
|
334 |
|
|
Node: Register Packet Format631788
|
335 |
|
|
Node: Examples632686
|
336 |
|
|
Node: Copying633263
|
337 |
|
|
Node: GNU Free Documentation License652478
|
338 |
|
|
Node: Index672182
|
339 |
|
|
|
340 |
|
|
End Tag Table
|