File: gdb.1

package info (click to toggle)
manpages-ja 0.5.0.0.20061115-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 19,788 kB
  • ctags: 4
  • sloc: sh: 13,215; perl: 157; makefile: 117
file content (381 lines) | stat: -rw-r--r-- 8,431 bytes parent folder | download | duplicates (5)
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
370
371
372
373
374
375
376
377
378
379
380
381
.\" Copyright (c) 1991 Free Software Foundation
.\" See section COPYING for conditions for redistribution
.\" %FreeBSD: src/gnu/usr.bin/binutils/gdb/gdb.1,v 1.7 1999/08/27 23:34:49 peter Exp %
.\" $FreeBSD: doc/ja_JP.eucJP/man/man1/gdb.1,v 1.7 2001/05/14 01:07:24 horikawa Exp $
.TH gdb 1 "4nov1991" "GNU Tools" "GNU Tools"
.SH ̾
gdb \- GNU ǥХå
.SH 
.na
.TP
.B gdb
.RB "[\|" \-help "\|]"
.RB "[\|" \-nx "\|]"
.RB "[\|" \-q "\|]"
.RB "[\|" \-batch "\|]"
.RB "[\|" \-cd=\c
.I dir\c
\|]
.RB "[\|" \-f "\|]"
.RB "[\|" \-k "\|]"
.RB "[\|" \-wcore "\|]"
.RB "[\|" "\-b\ "\c
.IR bps "\|]"
.RB "[\|" "\-tty="\c
.IR dev "\|]"
.RB "[\|" "\-s "\c
.I symfile\c
\&\|]
.RB "[\|" "\-e "\c
.I prog\c
\&\|]
.RB "[\|" "\-se "\c
.I prog\c
\&\|]
.RB "[\|" "\-c "\c
.I core\c
\&\|]
.RB "[\|" "\-x "\c
.I cmds\c
\&\|]
.RB "[\|" "\-d "\c
.I dir\c
\&\|]
.RB "[\|" \c
.I prog\c
.RB "[\|" \c
.IR core \||\| procID\c
\&\|]\&\|]
.ad b
.SH 
GDB ϤȤǥХåϡץब¹⤷ϥå夷ˤ
ץ ``'' DzԤʤƤ뤫/ԤƤĴ٤Τ
Ѥޤ

GDB ϡ4 Ĥεǽ (äƤ򥵥ݡȤ뵡ǽ) ˤä
¹˥Х򸫤Ĥ뤳Ȥޤ

.TP
\ \ \ \(bu
ץưܺ٤˻ꤷƥץ¹Ԥ롣

.TP
\ \ \ \(bu
ꤷǥץߤ롣

.TP
\ \ \ \(bu
ץबߤޤäˡäĴ٤롣

.TP
\ \ \ \(bu
ХˤѤ̤ΥХĴ٤뤿ץξ֤ѹ롣
.PP

GDB Ǥ C, C++, Modula-2 ʤɤǽ񤫤줿ץΥǥХåԤʤޤ
GNU Fortran ѥ餬 Fortran ⥵ݡȤޤ

GDB ϥ륳ޥ\c
.B gdb\c
\&ǵưޤäưȡGDB ޥ\c
.B quit\c
\&¹Ԥƽλޤǡü饳ޥɤɤ³ޤ
.B gdb\c
\&Υ饤إפ(\c
.B gdb\c
)
.B help\c
\&ޥɤ¹Ԥɽޤ

.B gdb\c
\& ϰ䥪ץ̵ǵưǤޤ
Ƥ1 Ĥ 2 ĤΰդƵưޤ¹ԥץ
ˤϰʲΤ褦ˤʤޤ:
.sp
.br
gdb\ program
.br
.sp

ޤ¹ԥץ core եξꤹ뤳ȤǤޤ:
.sp
.br
gdb\ program\ core
.br
.sp

⤷¹ΥץΥǥХåԤʤˤϡ
 2 Ȥ core ˥ץ ID ꤷޤ:
.sp
.br
gdb\ program\ 1234
.br
.sp

 GDB ץ ID \c
.B 1234\c
\& Υץ³ޤ(ΤȤ`\|\c
.B 1234\c
\&\|'Ȥ̾Υե뤬¸ߤƤϤޤ
GDB Ϥޤ core եǽ˥åˤǤ)

褯Ѥ GDB ޥɤˤϰʲΤ褦ʤΤޤ:
.TP
.B break \fR[\|\fIfile\fB:\fR\|]\fIfunction
\&
ץ졼ݥȤ \c
\& (\c
.I file\c
\&)
.I function\c
ꤷޤ
.TP
.B run \fR[\|\fIarglist\fR\|]
ץμ¹Ԥ򳫻Ϥޤ(⤷
.I arglist\c
\&\c
Ȥ)
.TP
.B bt
Хåȥ졼: ץΥåɽޤ
.TP
.BI print " expr"\c
\&
ͤɽޤ
.TP
.B c
ץμ¹ԤƳޤ(ȤХ֥졼ݥȤǼ¹ԤǤ)
.TP
.B next
ΥץԤ¹Ԥޤ 
ιƤδؿ 1 ƥåפǼ¹Ԥޤ
.TP
.B step
ΥץԤ¹Ԥޤ
⤷ιԤ˴ؿޤޤƤСδؿ򥹥ƥå׼¹ԤƤޤ
.TP
.B help \fR[\|\fIname\fR\|]
GDB ޥ \c
.I name\c
\&ˤĤƤξ䡢
GDB ȤǤΰŪʾɽޤ
.TP
.B quit
GDB λޤ
.PP
GDB ξܺ٤ˤĤƤ\c
.I
Using GDB: A Guide to the GNU Source-Level Debugger\c
\&, by Richard M. Stallman and Roland H. Pesch. 򻲾ȤƲ
ƱƥȤϡ
.B info\c
\& ץ
.B gdb\c
\& ȥ꤫饪饤ǻȤǤޤ
.SH ץ
ץʳΰϡ¹ԥե core ե (⤷ϥץ ID)
ɽޤĤޤꥪץե饰Ǥ⥪ץե饰ΰǤʤǽ
 `\|\c
.B \-se\c
\&\|' ץǻꤹեƱˤʤꡢ(⤷) 2 ܤΰ
`\|\c
.B \-c\c
\&\|' ץǻꤹեƱˤʤޤ

ץ¿ϡĹɽˡûɽˡξǻꤹ뤳ȤǤ
ǤϤξ򼨤ޤ
ĹɽˡϡɤΥץǤΤΤǤСûڤͤƤ
ޤ
(ߤˤ `\|\c
.B \-\c
\&\|' 
`\|\c
.B +\c
\&\|' ѤǤޤǤϤ褯Ѥɽǵޤ)

ƤΥץȥޥɥ饤ϻꤷ֤˽ޤ
`\|\c
.B \-x\c
\&\|' ץ󤬻Ѥȡν֤ѤäƤޤ

.TP
.B \-help
.TP
.B \-h
ûĤǡƤΥץɽޤ

.TP
.BI "\-symbols=" "file"\c
.TP
.BI "\-s " "file"\c
\&
ܥơ֥ե \c
.I file\c
\&ɤߤޤ

.TP
.BI "\-exec=" "file"\c
.TP
.BI "\-e " "file"\c
\&
ե \c
.I file\c
\& ¹ԲǽեȤѤޤ
core dump Ϣ pure data Ĵ٤ΤˤѤޤ

.TP
.BI "\-se=" "file"\c
\&
ե \c
.I file\c
\& 饷ܥơ֥ɤߡƱˤ¹ԲǽեȤѤޤ

.TP
.BI "\-core=" "file"\c
.TP
.BI "\-c " "file"\c
\&
ե \c
.I file\c
\&  core dump ȤѤޤ

.TP
.BI "\-command=" "file"\c
.TP
.BI "\-x " "file"\c
\&
ե \c
.I file\c
\& GDB Υޥɤɤ߹ߡ¹Ԥޤ

.TP
.BI "\-directory=" "directory"\c
.TP
.BI "\-d " "directory"\c
\&
եõѥ \c
.I directory\c
\& ɲäޤ
.PP

.TP
.B \-nx
.TP
.B \-n
ե `\|\c
.B .gdbinit\c
\&\|' 饳ޥɤɤ߹ߤޤ
̾ϡ
ƤΥޥɥץȰ줿ǡ
եΥޥɤ¹Ԥޤ

.TP
.B \-quiet
.TP
.B \-q
ưΥå copyright ɽޤ
ΥåϥХå⡼ɤǤޤ

.TP
.B \-batch
Хå⡼ɤưޤ`\|\c
.B \-x\c
\&\|' ǻꤷե(ӡ-nx  -n Ƥʤ `\|\c
.B .gdbinit\c
\&\|') ƤΥޥɤ
塢ͤȤ \c
.B 0\c
\& ֤ƽλޤ
ޥɥե GDB ޥɤμ¹˥顼ϡ
0 ʳͤǽλޤ

Хå⡼ɤ GDB ե륿ȤƼ¹Ԥ硢
ȤХץɤ̤Υԥ塼Ǽ¹Ԥꤹ
Ǥ
ʲΥå
.sp
.br
Program\ exited\ normally.(ץ˽λޤ)
.br
.sp
̾GDB üǼ¹Ԥץबλ뤿Ӥ
ϤΤǤ
Хå⡼ɤǤϤΤ褦ʥåϽϤޤ
.TP
.BI "\-cd=" "directory"\c
\&
ȥǥ쥯ȥ \c
.I directory\c
\&  GDB κѥǥ쥯ȥȤƼ¹Ԥޤ

.TP
.B \-fullname
.TP
.B \-f
Emacs  GDB 򥵥֥ץȤƼ¹ԤݤˤΥץղäޤ
ΤȤ GDB ϡåե졼बɽ(ץबǤ٤
ޤߤޤ)ˡʥե̾ȹֹɸŪǧ䤹ɽޤ
ɽ񼰤 2 Ĥ
`\|\c
.B \032\c
\&\|'
ʸե̾Ƕڤ줿ֹʸ֡Ԥνˤʤ
Ƥޤ EmacsGDB 󥿥եץˤơ
ե졼б륽ɤɽ뤿 2 Ĥ
`\|\c
.B \032\c
\&\|' ʸȤȤˤʤäƤ뤫Ǥ

.TP
.B \-kernel
.TP
.B \-k
gdb 򥫡ͥǥХå⡼ɤǻѤޤ
ץץȤ ``(kgdb)'' ˤʤޤ

.TP
.B \-wcore
ΥץϥͥǥХå⡼ɤ
ưΡץͥǥХåƤΤ߻ѲǽǤꡢ
ե (/dev/mem) 񤭹߲ǽˤޤ

.TP
.BI "\-b " "bps"\c
\&
⡼ȥǥХåѤ GDB Ѥ륷ꥢ륤󥿥եž®٤
(ܡ졼Ȥޤϥӥå/ä)åȤޤ

.TP
.BI "\-tty=" "device"\c
\&
ץɸϤ \c
.I device\c
\& Ѥޤ
.PP

.SH "Ϣ"
.B info\c

.RB "`\|" gdb "\|'"
ȥ
\&;
.I
Using GDB: A Guide to the GNU Source-Level Debugger\c
, Richard M. Stallman and Roland H. Pesch, July 1991.
.SH COPYING
Copyright (c) 1991 Free Software Foundation, Inc.
.PP
Permission is granted to make and distribute verbatim copies of
this manual provided the copyright notice and this permission notice
are preserved on all copies.
.PP
Permission is granted to copy and distribute modified versions of this
manual under the conditions for verbatim copying, provided that the
entire resulting derived work is distributed under the terms of a
permission notice identical to this one.
.PP
Permission is granted to copy and distribute translations of this
manual into another language, under the above conditions for modified
versions, except that this permission notice may be included in
translations approved by the Free Software Foundation instead of in
the original English.