Many
Manuals
search
Categorie
Marchi
Home
HP
Software
gnu source-level debugger 5992-4701
Manuale Utente
HP gnu source-level debugger 5992-4701 Manuale Utente Pagina 286
Scaricare
Condividere
Condivisione
Aggiungi ai miei manuali
Stampa
Pagina
/
369
Indice
SEGNALIBRI
Valutato
.
/ 5. Basato su
recensioni clienti
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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
show debug v
arobj
Displays
the
current
state
of
displaying
GDB
v
ariable
object debugging info.
286
Controlling GDB
1
2
...
281
282
283
284
285
286
287
288
289
290
291
...
368
369
Debugging with GDB Manual
1
Table of Contents
3
4 Table of Contents
4
Table of Contents 5
5
6 Table of Contents
6
Table of Contents 7
7
8 Table of Contents
8
Table of Contents 9
9
10 Table of Contents
10
Table of Contents 11
11
12 Table of Contents
12
List of Tables
13
List of Examples
14
Summary of GDB
15
Contributors to GDB 17
17
1 A Sample GDB Session
19
1.2 Setting Display width
20
1.3 Setting Breakpoints
20
1.7 Examining the Stack
21
1.8 Printing Variable Values
21
1.9 Listing Source Code
22
2 Getting In and Out of GDB
25
2.1.1 Choosing files
26
2.1.2 Choosing modes
27
Program exited normally
28
2.1 Invoking GDB 29
29
2.2 Quitting GDB
30
2.3 Shell commands
31
3 GDB Commands
33
34 GDB Commands
34
3.3 Getting help
35
36 GDB Commands
36
3.3 Getting help 37
37
4 Running Programs Under GDB
39
40 Running Programs Under GDB
40
4.3 Arguments To Your Program
41
4.4 Program Environment
41
42 Running Programs Under GDB
42
4.5 Working directory
43
4.6 Program Input and Output
43
44 Running Programs Under GDB
44
4.8 Killing the child process
45
((gdb)) info threads
46
((gdb)) thread 1
46
48 Running Programs Under GDB
48
50 Running Programs Under GDB
50
5 Stopping and Continuing
51
5.1.1 Setting breakpoints
52
5.1 Breakpoints 53
53
54 Stopping and Continuing
54
5.1 Breakpoints 55
55
5.1.2 Setting catchpoints
56
5.1 Breakpoints 57
57
5.1.3 Deleting breakpoints
58
5.1.4 Disabling breakpoints
58
5.1.5 Break conditions
59
60 Stopping and Continuing
60
5.1 Breakpoints 61
61
5.1.7 Breakpoint menus
62
5.1 Breakpoints 63
63
5.2 Continuing and stepping
64
((gdb)) f
66
206 expand_input();
66
((gdb)) until
66
5.3 Signals
67
68 Stopping and Continuing
68
70 Stopping and Continuing
70
6 Examining the Stack
71
6.2 Stacks Without frames
72
6.4 Backtraces
72
6.5 Selecting a frame
73
6.6 Information about a frame
74
7 Examining Source Files
77
7.2 Searching source files
78
7.4 Source and machine code
80
8 Examining Data
83
8.2 Program variables
84
8.3 Artificial arrays
85
8.4 Output formats
86
8.5 Examining memory
87
88 Examining Data
88
8.6 Automatic display
89
8.7 Print settings
90
((gdb)) set print addr off
91
530 if (lquote != def_lquote)
91
92 Examining Data
92
8.7 Print settings 93
93
94 Examining Data
94
8.8 Value history
95
8.9 Convenience variables
96
8.9 Convenience variables 97
97
8.10 Registers
98
8.12 Floating point hardware
99
9.2 Displaying the language
103
9.3 Type and range checking
103
9.4 Supported languages
105
9.4.1 C and C++
106
9.4 Supported languages 107
107
9.4 Supported languages 109
109
9.4 Supported languages 111
111
9.4.2 Fortran
112
9.4 Supported languages 113
113
10 Examining the Symbol Table
115
{<no data fields>}
118
11 Altering Execution
119
120 Altering Execution
120
11.6 Patching programs
122
11.6 Patching programs 123
123
12 GDB Files
125
126 GDB Files
126
128 GDB Files
128
130 GDB Files
130
132 GDB Files
132
13.1 Active targets
133
14.2 HP-UX dependencies
140
14.2 HP-UX dependencies 141
141
14.4 HP-UX targets
143
14.7.3 Using Fix and Continue
147
14.8 Inline Support
150
14.8 Inline Support 151
151
/opt/aCC/bin/aCC -g test.c
152
(gdb) set inline-debug on
152
$ gdb --inline = on
152
14.9 Debugging Macros
153
14.9 Debugging Macros 155
155
<arguments if any>
170
14.10.10 Heap Profiling
178
(gdb) set heap-check on
179
(gdb) b myfunction
179
(gdb) thread disable 1
181
(gdb) thread enable 1
181
Enabling thread 1
181
Set BATCH_RTC=on
191
14.12 Debugging MPI Programs
194
0x61, 0x61, 0x61, 0x61
199
14.15 Debugging Core Files
200
(gdb) i ep 4 10
204
Sample Program:
205
Sample Debugging Session:
205
14.21.1 Deferred watchpoints
208
14.21.2 Hardware watchpoints
208
14.21.3 Hardware breakpoints
208
(gdb) break ::
209
(gdb) b main
210
14.22.3 Using catch load
211
(gdb) set mapshared on
212
(gdb) set mapshared off
212
/usr/lib/hpux32/dld.so
213
14.25 Language support
217
(gdb) help java
218
Java VM Debugging Commands
219
Java subcommands
219
14.25 Language support 221
221
14.30 Debugging with ARIES
230
/opt/langtools/bin/vdb
233
/opt/langtools/bin/vdb -tui
233
HPterm*foreground: white
235
14.31.5 Using the TUI mode
236
14.31.8 Loading source files
237
14.31.9 Editing source files
237
14.32 Support for ddd
238
14.37 Linux support
241
15.1 Starting the TUI
243
15.3 Screen Layouts
244
15.3.1 Source pane
245
15.3.2 Disassembly pane
245
15.3.5 Source/Register pane
247
15.5 Changing pane focus
248
15.6 Scrolling panes
250
15.8 Changing the pane size
251
16.1.1 Invocation commands
254
16.1.2 Window mode commands
254
16.1.3 File viewing commands
255
16.1.6 Stack viewing commands
258
16.1.7 Status-viewing command
259
16.1.8 Job control commands
259
XDB: p expr\fmt
266
GDB: p/fmt expr
266
Table 16-19 Special variables
269
16.8.1 A
270
16.8.2 B
271
16.8.3 C through D
272
16.8.4 F through K
273
16.8.5 L
273
16.8.6 M through P
274
16.8.7 Q through S
275
16.8.8 T
275
16.8.9 U through Z
276
16.8.10 Symbols
277
17 Controlling GDB
281
282 Controlling GDB
282
17.5 Supported Number Formats
283
((gdb)) run
284
286 Controlling GDB
286
18.1 User-defined commands
287
18.3 Command files
289
19 Using GDB under gnu Emacs
293
294 Using GDB under gnu Emacs
294
20 GDB Annotations
297
20.3 Values
298
20.4 Frames
299
300 GDB Annotations
300
20.5 Displays
301
20.6 Annotation for GDB input
301
20.7 Errors
302
20.9 Invalidation notices
303
20.10 Running the program
303
20.11 Displaying source
304
21 The GDB/MI Interface
307
21.1.2 GDB/MI Output syntax
308
310 The GDB/MI Interface
310
21.3 GDB/MI output records
311
-command args
312
-break-after number count
312
The -break-condition command
313
Synopsis
313
GDB command
313
314 The GDB/MI Interface
314
[ -p thread ] [ line
316
The -break-list command
317
The -break-watch command
318
21.6 GDB/MI Data manipulation
320
The -data-read-memory command
325
-display-enable number
328
-display-insert expression
328
-display-list
328
-environment-cd pathdir
328
21.7 GDB/MI program control
330
-exec-abort
331
-exec-arguments args
331
-exec-continue
331
-exec-return
334
-exec-run
334
-exec-show-arguments
335
-exec-step
335
-exec-step-instruction
336
-exec-until [ location ]
336
338 The GDB/MI Interface
338
340 The GDB/MI Interface
340
-symbol-info-address symbol
346
-symbol-info-file
346
-symbol-info-function
346
-symbol-info-line
347
-symbol-info-symbol addr
347
-symbol-list-functions
347
-symbol-list-types
347
-symbol-list-variables
348
-symbol-locate
348
-symbol-type variable
348
-target-attach pid
349
-target-detach
349
The -target-download command
350
-target-list-current-targets
352
-target-list-parameters
352
21.12 GDB/MI thread commands
353
354 The GDB/MI Interface
354
21.14 GDB/MI variable objects
355
The -var-create command
356
358 The GDB/MI Interface
358
The -var-assign command
359
The -var-update command
359
22 Reporting Bugs in GDB
361
362 Reporting Bugs in GDB
362
22.2 How to report bugs 363
363
A Installing GDB
365
366 Installing GDB
366
A.3 configure options
368
A.3 configure options 369
369
Commenti su questo manuale
Nessun commento
Publish
Prodotti e manuali riguardandi Software HP gnu source-level debugger 5992-4701
Software HP 39g+ Graphing Calculator Guida Utente
(294 pagine)
Software HP 39g Graphing Calculator Guida Utente
(288 pagine)
Software HP Vectra VE5 2 Guida Utente
(102 pagine)
Software HP Photo Pro Guida Utente
(16 pagine)
Software HP 5300 Informazioni Techniche
(442 pagine)
Software HP Prime Graphing Wireless Calculator Manuale Utente
(701 pagine)
Software HP Designjet Universal Print Driver Manuale Utente
(301 pagine)
Software HP Remote Graphics Software (RGS) Manuale Utente
(247 pagine)
Software HP SmartCard NIPRNet Solution for US Government Manuale Utente
(37 pagine)
Software HP Web Jetadmin Software Manuale Utente
(31 pagine)
Software HP Remote Graphics Software (RGS) Manuale Utente
(259 pagine)
Software HP MFP Digital Sending Software 5.0 Manuale Utente
(122 pagine)
Software HP Web Jetadmin Software Manuale Utente
(14 pagine)
Software HP Remote Graphics Software (RGS) Manuale Utente
(122 pagine)
Software HP Remote Graphics Software (RGS) Manuale Utente
(243 pagine)
Software HP Web Jetadmin Software Manuale Utente
(30 pagine)
Software HP SmartTracker for HP PageWide XL 5100 Printer series Manuale Utente
(43 pagine)
Software Hp 9000 Servers Manuale Utente
(5 pagine)
Software Hp Storage Area Manager Manuale Utente
(13 pagine)
Software Hp Программное обеспечение HP ProtectTools Security, Manuale Utente
(83 pagine)
Stampa documento
Stampa pagina 286
Commenti su questo manuale