OSDN Git Service

add draft (GNU_gdb)
[linuxjm/jm.git] / manual / GNU_gdb / draft / man1 / gcore.1
1 .de  Sp \" Vertical space (when we can't use .PP)
2 .if t .sp .5v
3 .if n .sp
4 ..
5 .\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.40)
6 .\"
7 .\" Standard preamble:
8 .\" ========================================================================
9 .de  Vb \" Begin verbatim text
10 .ft CW
11 .nf
12 .ne \\$1
13 ..
14 .de  Ve \" End verbatim text
15 .ft R
16 .fi
17 ..
18 .\" Set up some character translations and predefined strings.  \*(-- will
19 .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
20 .\" double quote, and \*(R" will give a right double quote.  \*(C+ will
21 .\" give a nicer C++.  Capital omega is used to do unbreakable dashes and
22 .\" therefore won't be available.  \*(C` and \*(C' expand to `' in nroff,
23 .\" nothing in troff, for use with C<>.
24 .tr \(*W-
25 .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
26 .ie  n \{\
27 .    ds -- \(*W-
28 .    ds PI pi
29 .    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
30 .    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
31 .    ds L" ""
32 .    ds R" ""
33 .    ds C` ""
34 .    ds C' ""
35 'br\}
36 .el\{\
37 .    ds -- \|\(em\|
38 .    ds PI \(*p
39 .    ds L" ``
40 .    ds R" ''
41 .    ds C`
42 .    ds C'
43 'br\}
44 .ie  \n(.g .ds Aq \(aq
45 .el       .ds Aq '
46 .\"
47 .\" Escape single quotes in literal strings from groff's Unicode transform.
48 .de  IX
49 ..
50 .\"
51 .\" If the F register is >0, we'll generate index entries on stderr for
52 .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
53 .\" entries marked with X<> in POD.  Of course, you'll have to process the
54 .\" output yourself in some meaningful fashion.
55 .\"
56 .\" Avoid warning from groff about undefined register 'F'.
57 .nr rF 0
58 .if  \n(.g .if rF .nr rF 1
59 .if  (\n(rF:(\n(.g==0)) \{\
60 .    if \nF \{\
61 .        de IX
62 .        tm Index:\\$1\t\\n%\t"\\$2"
63 ..
64 .        if !\nF==2 \{\
65 .            nr % 0
66 .            nr F 2
67 .        \}
68 .    \}
69 .\}
70 .rr rF
71 .\" fudge factors for nroff and troff
72 .    
73 .if  n \{\
74 .    ds #H 0
75 .    ds #V .8m
76 .    ds #F .3m
77 .    ds #[ \f1
78 .    ds #] \fP
79 .\}
80 .\"
81 .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
82 .\" Fear.  Run.  Save yourself.  No user-serviceable parts.
83 .if  t \{\
84 .    ds #H ((1u-(\\\\n(.fu%2u))*.13m)
85 .    ds #V .6m
86 .    ds #F 0
87 .    ds #[ \&
88 .    ds #] \&
89 .\}
90 .\" simple accents for nroff and troff
91 .    
92 .if  n \{\
93 .    ds ' \&
94 .    ds ` \&
95 .    ds ^ \&
96 .    ds , \&
97 .    ds ~ ~
98 .    ds /
99 .\}
100 .if  t \{\
101 .    ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
102 .    ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
103 .    ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
104 .    ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
105 .    ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
106 .    ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
107 .\}
108 .\" troff and (daisy-wheel) nroff accents
109 .    
110 .ds : \k:\h'-(\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\n:u'\v'\*(#V'
111 .ds 8 \h'\*(#H'\(*b\h'-\*(#H'
112 .ds o \k:\h'-(\n(.wu+\w'\(de'u\-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\n:u'\*(#]
113 .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\fI\(hy\fP\v'.25m'\h'-\*(#H'
114 .ds D- D\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\n:u'
115 .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
116 .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
117 .ds ae a\h'-(\w'a'u*4/10)'e
118 .ds Ae A\h'-(\w'A'u*4/10)'E
119 .\" corrections for vroff
120 .    
121 .if  v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
122 .if  v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
123 .\" for low resolution devices (crt and lpr)
124 .    
125 .if  \n(.H>23 .if \n(.V>19 \
126 \{\
127 .    ds : e
128 .    ds 8 ss
129 .    ds o a
130 .    ds d- d\h'-1'\(ga
131 .    ds D- D\h'-1'\(hy
132 .    ds th \o'bp'
133 .    ds Th \o'LP'
134 .    ds ae ae
135 .    ds Ae AE
136 .\}
137 .rm #[ #] #H #V #F C
138 .\" ========================================================================
139 .\"
140 .IX Title "GCORE 1"
141 .\"*******************************************************************
142 .\"
143 .\" This file was generated with po4a. Translate the source file.
144 .\"
145 .\"*******************************************************************
146 .\"
147 .\" translated for 11.2 ribbon <ribbon@users.osdn.me>
148 .\"
149 .TH GCORE 1 2022\-01\-16 gdb\-11.2 "GNU Development Tools"
150 .if  n .ad l
151 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
152 .\" way too many mistakes in technical documents.
153 .nh
154 .SH 名前
155 gcore \- 実行プログラムのコアファイルを生成する
156 .SH 書式
157 .IX Header 書式
158 gcore [\-a] [\-o \fIprefix\fP] \fIpid1\fP [\fIpid2\fP...\fIpidN\fP]
159 .SH 説明
160 .IX Header 説明
161 1 つまたは複数の実行プログラムのプロセス ID \&\fIpid1\fP, \fIpid2\fP などを使って、 コアダンプを生成します。 \fBgcore\fP
162 から生成される 1 つのコアファイルは、 プロセスがクラッシュしたときに (そして \f(CW\*(C`ulimit \-c\*(C'\fP
163 を用いて、適切にコアダンプ制限が設定されているときに) カーネルが生成するものと同じです。 ただし、クラッシュ後に生成されるものとは違って、
164 \fBgcore\fP が処理を終えた後は、そのプログラムは何も変更なく動作し続けます。
165 .SH オプション
166 .IX Header オプション
167 .IP \fB\-a\fP 4
168 .IX Item \-a
169 メモリマッピングをすべてダンプします。 このオプションが実際にどのように効果を発揮するかは、オペレーティングシステムによります。 GNU/Linux
170 の場合、 \&\f(CW\*(C`use\-coredump\-filter\*(C'\fP が無効となり、
171 \f(CW\*(C`dump\-excluded\-mappings\*(C'\fP が有効となります。
172 .IP "\fB\-o\fP \fIprefix\fP" 4
173 .IX Item "\-o prefix"
174 任意の引数 \fIprefix\fP を指定すると、コアダンプのファイル名を定める際のプレフィックスとして、その値が用いられます。 ファイル名は
175 \fIprefix.pid\fP として構成されます。 この場合の \fIpid\fP は、 \fBgcore\fP が解析している実行プログラムのプロセス
176 \s-1ID\s0 です。 これが指定されたなかった場合、 \fIprefix\fP のデフォルト値は \fIgcore\fP です。
177 .SH 関連項目
178 .IX Header 関連項目
179 \s-1GDB\s0 の完全なドキュメントは Texinfo マニュアルとしてメンテナンスされています。\f(CW\*(C`info\*(C'\fP と
180 \f(CW\*(C`gdb\*(C'\fP の両プログラム、および \s-1GDB\s0 の Texinfo
181 ドキュメントが適切にインストールされていれば、以下のコマンド
182 .PP
183 .Vb 1
184 \& info gdb
185 .Ve
186 .PP
187 を実行して完全なマニュアルを参照できます。
188 .PP
189 \&\fIUsing \s-1GDB: A\s0 Guide to the \s-1GNU\s0 Source\-Level Debugger\fP,
190 Richard M. Stallman and Roland H. Pesch, July 1991.
191 .SH 著作権
192 .IX Header 著作権
193 Copyright (c) 1988\-2022 Free Software Foundation, Inc.
194 .PP
195 Permission is granted to copy, distribute and/or modify this document under
196 the terms of the \s-1GNU\s0 Free Documentation License, Version 1.3 or any
197 later version published by the Free Software Foundation; with the Invariant
198 Sections being \*(L"Free Software\*(R" and \*(L"Free Software Needs Free
199 Documentation\*(R", with the Front\-Cover Texts being \*(L"A \s-1GNU\s0
200 Manual,\*(R" and with the Back\-Cover Texts as in (a) below.
201 .PP
202 (a) \s-1FSF\s0 の裏表紙には、 以下の文章が記述されています: \*(L"You are free to copy and modify
203 this \s-1GNU\s0 Manual.  Buying copies from \s-1GNU\s0 Press supports the
204 \s-1FSF\s0 in developing \s-1GNU\s0 and promoting software freedom.\*(R"