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 |
|
|
File: gdb.info, Node: General Query Packets, Next: Register Packet Format, Prev: Stop Reply Packets, Up: Remote Protocol
|
31 |
|
|
|
32 |
|
|
General Query Packets
|
33 |
|
|
=====================
|
34 |
|
|
|
35 |
|
|
The following set and query packets have already been defined.
|
36 |
|
|
|
37 |
|
|
`q'`C' -- current thread
|
38 |
|
|
Return the current thread id.
|
39 |
|
|
|
40 |
|
|
Reply:
|
41 |
|
|
``QC'PID'
|
42 |
|
|
Where PID is a HEX encoded 16 bit process id.
|
43 |
|
|
|
44 |
|
|
`*'
|
45 |
|
|
Any other reply implies the old pid.
|
46 |
|
|
|
47 |
|
|
`q'`fThreadInfo' - all thread ids
|
48 |
|
|
`q'`sThreadInfo'
|
49 |
|
|
|
50 |
|
|
Obtain a list of active thread ids from the target (OS). Since
|
51 |
|
|
there may be too many active threads to fit into one reply packet,
|
52 |
|
|
this query works iteratively: it may require more than one
|
53 |
|
|
query/reply sequence to obtain the entire list of threads. The
|
54 |
|
|
first query of the sequence will be the `qf'`ThreadInfo' query;
|
55 |
|
|
subsequent queries in the sequence will be the `qs'`ThreadInfo'
|
56 |
|
|
query.
|
57 |
|
|
|
58 |
|
|
NOTE: replaces the `qL' query (see below).
|
59 |
|
|
|
60 |
|
|
Reply:
|
61 |
|
|
``m'ID'
|
62 |
|
|
A single thread id
|
63 |
|
|
|
64 |
|
|
``m'ID,ID...'
|
65 |
|
|
a comma-separated list of thread ids
|
66 |
|
|
|
67 |
|
|
``l''
|
68 |
|
|
(lower case 'el') denotes end of list.
|
69 |
|
|
|
70 |
|
|
In response to each query, the target will reply with a list of
|
71 |
|
|
one or more thread ids, in big-endian hex, separated by commas.
|
72 |
|
|
GDB will respond to each reply with a request for more thread ids
|
73 |
|
|
(using the `qs' form of the query), until the target responds with
|
74 |
|
|
`l' (lower-case el, for `'last'').
|
75 |
|
|
|
76 |
|
|
`q'`ThreadExtraInfo'`,'ID -- extra thread info
|
77 |
|
|
Where ID is a thread-id in big-endian hex. Obtain a printable
|
78 |
|
|
string description of a thread's attributes from the target OS.
|
79 |
|
|
This string may contain anything that the target OS thinks is
|
80 |
|
|
interesting for GDB to tell the user about the thread. The string
|
81 |
|
|
is displayed in GDB's `info threads' display. Some examples of
|
82 |
|
|
possible thread extra info strings are "Runnable", or "Blocked on
|
83 |
|
|
Mutex".
|
84 |
|
|
|
85 |
|
|
Reply:
|
86 |
|
|
`XX...'
|
87 |
|
|
Where XX... is a hex encoding of ASCII data, comprising the
|
88 |
|
|
printable string containing the extra information about the
|
89 |
|
|
thread's attributes.
|
90 |
|
|
|
91 |
|
|
`q'`L'STARTFLAGTHREADCOUNTNEXTTHREAD -- query LIST or THREADLIST *(deprecated)*
|
92 |
|
|
Obtain thread information from RTOS. Where: STARTFLAG (one hex
|
93 |
|
|
digit) is one to indicate the first query and zero to indicate a
|
94 |
|
|
subsequent query; THREADCOUNT (two hex digits) is the maximum
|
95 |
|
|
number of threads the response packet can contain; and NEXTTHREAD
|
96 |
|
|
(eight hex digits), for subsequent queries (STARTFLAG is zero), is
|
97 |
|
|
returned in the response as ARGTHREAD.
|
98 |
|
|
|
99 |
|
|
NOTE: this query is replaced by the `q'`fThreadInfo' query (see
|
100 |
|
|
above).
|
101 |
|
|
|
102 |
|
|
Reply:
|
103 |
|
|
``q'`M'COUNTDONEARGTHREADTHREAD...'
|
104 |
|
|
Where: COUNT (two hex digits) is the number of threads being
|
105 |
|
|
returned; DONE (one hex digit) is zero to indicate more
|
106 |
|
|
threads and one indicates no further threads; ARGTHREADID
|
107 |
|
|
(eight hex digits) is NEXTTHREAD from the request packet;
|
108 |
|
|
THREAD... is a sequence of thread IDs from the target.
|
109 |
|
|
THREADID (eight hex digits). See
|
110 |
|
|
`remote.c:parse_threadlist_response()'.
|
111 |
|
|
|
112 |
|
|
`q'`CRC:'ADDR`,'LENGTH -- compute CRC of memory block
|
113 |
|
|
Reply:
|
114 |
|
|
``E'NN'
|
115 |
|
|
An error (such as memory fault)
|
116 |
|
|
|
117 |
|
|
``C'CRC32'
|
118 |
|
|
A 32 bit cyclic redundancy check of the specified memory
|
119 |
|
|
region.
|
120 |
|
|
|
121 |
|
|
`q'`Offsets' -- query sect offs
|
122 |
|
|
Get section offsets that the target used when re-locating the
|
123 |
|
|
downloaded image. _Note: while a `Bss' offset is included in the
|
124 |
|
|
response, GDB ignores this and instead applies the `Data' offset
|
125 |
|
|
to the `Bss' section._
|
126 |
|
|
|
127 |
|
|
Reply:
|
128 |
|
|
``Text='XXX`;Data='YYY`;Bss='ZZZ'
|
129 |
|
|
|
130 |
|
|
`q'`P'MODETHREADID -- thread info request
|
131 |
|
|
Returns information on THREADID. Where: MODE is a hex encoded 32
|
132 |
|
|
bit mode; THREADID is a hex encoded 64 bit thread ID.
|
133 |
|
|
|
134 |
|
|
Reply:
|
135 |
|
|
`*'
|
136 |
|
|
See `remote.c:remote_unpack_thread_info_response()'.
|
137 |
|
|
|
138 |
|
|
`q'`Rcmd,'COMMAND -- remote command
|
139 |
|
|
COMMAND (hex encoded) is passed to the local interpreter for
|
140 |
|
|
execution. Invalid commands should be reported using the output
|
141 |
|
|
string. Before the final result packet, the target may also
|
142 |
|
|
respond with a number of intermediate `O'OUTPUT console output
|
143 |
|
|
packets. _Implementors should note that providing access to a
|
144 |
|
|
stubs's interpreter may have security implications_.
|
145 |
|
|
|
146 |
|
|
Reply:
|
147 |
|
|
`OK'
|
148 |
|
|
A command response with no output.
|
149 |
|
|
|
150 |
|
|
`OUTPUT'
|
151 |
|
|
A command response with the hex encoded output string OUTPUT.
|
152 |
|
|
|
153 |
|
|
``E'NN'
|
154 |
|
|
Indicate a badly formed request.
|
155 |
|
|
|
156 |
|
|
``''
|
157 |
|
|
When `q'`Rcmd' is not recognized.
|
158 |
|
|
|
159 |
|
|
`qSymbol::' -- symbol lookup
|
160 |
|
|
Notify the target that GDB is prepared to serve symbol lookup
|
161 |
|
|
requests. Accept requests from the target for the values of
|
162 |
|
|
symbols.
|
163 |
|
|
|
164 |
|
|
Reply:
|
165 |
|
|
``OK''
|
166 |
|
|
The target does not need to look up any (more) symbols.
|
167 |
|
|
|
168 |
|
|
``qSymbol:'SYM_NAME'
|
169 |
|
|
The target requests the value of symbol SYM_NAME (hex
|
170 |
|
|
encoded). GDB may provide the value by using the
|
171 |
|
|
`qSymbol:'SYM_VALUE:SYM_NAME message, described below.
|
172 |
|
|
|
173 |
|
|
`qSymbol:'SYM_VALUE:SYM_NAME -- symbol value
|
174 |
|
|
Set the value of SYM_NAME to SYM_VALUE.
|
175 |
|
|
|
176 |
|
|
SYM_NAME (hex encoded) is the name of a symbol whose value the
|
177 |
|
|
target has previously requested.
|
178 |
|
|
|
179 |
|
|
SYM_VALUE (hex) is the value for symbol SYM_NAME. If GDB cannot
|
180 |
|
|
supply a value for SYM_NAME, then this field will be empty.
|
181 |
|
|
|
182 |
|
|
Reply:
|
183 |
|
|
``OK''
|
184 |
|
|
The target does not need to look up any (more) symbols.
|
185 |
|
|
|
186 |
|
|
``qSymbol:'SYM_NAME'
|
187 |
|
|
The target requests the value of a new symbol SYM_NAME (hex
|
188 |
|
|
encoded). GDB will continue to supply the values of symbols
|
189 |
|
|
(if available), until the target ceases to request them.
|
190 |
|
|
|
191 |
|
|
|
192 |
|
|
File: gdb.info, Node: Register Packet Format, Next: Examples, Prev: General Query Packets, Up: Remote Protocol
|
193 |
|
|
|
194 |
|
|
Register Packet Format
|
195 |
|
|
======================
|
196 |
|
|
|
197 |
|
|
The following `g'/`G' packets have previously been defined. In the
|
198 |
|
|
below, some thirty-two bit registers are transferred as sixty-four
|
199 |
|
|
bits. Those registers should be zero/sign extended (which?) to fill
|
200 |
|
|
the space allocated. Register bytes are transfered in target byte
|
201 |
|
|
order. The two nibbles within a register byte are transfered
|
202 |
|
|
most-significant - least-significant.
|
203 |
|
|
|
204 |
|
|
MIPS32
|
205 |
|
|
All registers are transfered as thirty-two bit quantities in the
|
206 |
|
|
order: 32 general-purpose; sr; lo; hi; bad; cause; pc; 32
|
207 |
|
|
floating-point registers; fsr; fir; fp.
|
208 |
|
|
|
209 |
|
|
MIPS64
|
210 |
|
|
All registers are transfered as sixty-four bit quantities
|
211 |
|
|
(including thirty-two bit registers such as `sr'). The ordering
|
212 |
|
|
is the same as `MIPS32'.
|
213 |
|
|
|
214 |
|
|
|
215 |
|
|
File: gdb.info, Node: Examples, Prev: Register Packet Format, Up: Remote Protocol
|
216 |
|
|
|
217 |
|
|
Examples
|
218 |
|
|
========
|
219 |
|
|
|
220 |
|
|
Example sequence of a target being re-started. Notice how the
|
221 |
|
|
restart does not get any direct output:
|
222 |
|
|
|
223 |
|
|
-> `R00'
|
224 |
|
|
<- `+'
|
225 |
|
|
_target restarts_
|
226 |
|
|
-> `?'
|
227 |
|
|
<- `+'
|
228 |
|
|
<- `T001:1234123412341234'
|
229 |
|
|
-> `+'
|
230 |
|
|
|
231 |
|
|
Example sequence of a target being stepped by a single instruction:
|
232 |
|
|
|
233 |
|
|
-> `G1445...'
|
234 |
|
|
<- `+'
|
235 |
|
|
-> `s'
|
236 |
|
|
<- `+'
|
237 |
|
|
_time passes_
|
238 |
|
|
<- `T001:1234123412341234'
|
239 |
|
|
-> `+'
|
240 |
|
|
-> `g'
|
241 |
|
|
<- `+'
|
242 |
|
|
<- `1455...'
|
243 |
|
|
-> `+'
|
244 |
|
|
|
245 |
|
|
|
246 |
|
|
File: gdb.info, Node: Copying, Next: GNU Free Documentation License, Prev: Remote Protocol, Up: Top
|
247 |
|
|
|
248 |
|
|
GNU GENERAL PUBLIC LICENSE
|
249 |
|
|
**************************
|
250 |
|
|
|
251 |
|
|
Version 2, June 1991
|
252 |
|
|
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
253 |
|
|
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
254 |
|
|
|
255 |
|
|
Everyone is permitted to copy and distribute verbatim copies
|
256 |
|
|
of this license document, but changing it is not allowed.
|
257 |
|
|
|
258 |
|
|
Preamble
|
259 |
|
|
========
|
260 |
|
|
|
261 |
|
|
The licenses for most software are designed to take away your
|
262 |
|
|
freedom to share and change it. By contrast, the GNU General Public
|
263 |
|
|
License is intended to guarantee your freedom to share and change free
|
264 |
|
|
software--to make sure the software is free for all its users. This
|
265 |
|
|
General Public License applies to most of the Free Software
|
266 |
|
|
Foundation's software and to any other program whose authors commit to
|
267 |
|
|
using it. (Some other Free Software Foundation software is covered by
|
268 |
|
|
the GNU Library General Public License instead.) You can apply it to
|
269 |
|
|
your programs, too.
|
270 |
|
|
|
271 |
|
|
When we speak of free software, we are referring to freedom, not
|
272 |
|
|
price. Our General Public Licenses are designed to make sure that you
|
273 |
|
|
have the freedom to distribute copies of free software (and charge for
|
274 |
|
|
this service if you wish), that you receive source code or can get it
|
275 |
|
|
if you want it, that you can change the software or use pieces of it in
|
276 |
|
|
new free programs; and that you know you can do these things.
|
277 |
|
|
|
278 |
|
|
To protect your rights, we need to make restrictions that forbid
|
279 |
|
|
anyone to deny you these rights or to ask you to surrender the rights.
|
280 |
|
|
These restrictions translate to certain responsibilities for you if you
|
281 |
|
|
distribute copies of the software, or if you modify it.
|
282 |
|
|
|
283 |
|
|
For example, if you distribute copies of such a program, whether
|
284 |
|
|
gratis or for a fee, you must give the recipients all the rights that
|
285 |
|
|
you have. You must make sure that they, too, receive or can get the
|
286 |
|
|
source code. And you must show them these terms so they know their
|
287 |
|
|
rights.
|
288 |
|
|
|
289 |
|
|
We protect your rights with two steps: (1) copyright the software,
|
290 |
|
|
and (2) offer you this license which gives you legal permission to copy,
|
291 |
|
|
distribute and/or modify the software.
|
292 |
|
|
|
293 |
|
|
Also, for each author's protection and ours, we want to make certain
|
294 |
|
|
that everyone understands that there is no warranty for this free
|
295 |
|
|
software. If the software is modified by someone else and passed on, we
|
296 |
|
|
want its recipients to know that what they have is not the original, so
|
297 |
|
|
that any problems introduced by others will not reflect on the original
|
298 |
|
|
authors' reputations.
|
299 |
|
|
|
300 |
|
|
Finally, any free program is threatened constantly by software
|
301 |
|
|
patents. We wish to avoid the danger that redistributors of a free
|
302 |
|
|
program will individually obtain patent licenses, in effect making the
|
303 |
|
|
program proprietary. To prevent this, we have made it clear that any
|
304 |
|
|
patent must be licensed for everyone's free use or not licensed at all.
|
305 |
|
|
|
306 |
|
|
The precise terms and conditions for copying, distribution and
|
307 |
|
|
modification follow.
|
308 |
|
|
|
309 |
|
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
310 |
|
|
0. This License applies to any program or other work which contains a
|
311 |
|
|
notice placed by the copyright holder saying it may be distributed
|
312 |
|
|
under the terms of this General Public License. The "Program",
|
313 |
|
|
below, refers to any such program or work, and a "work based on
|
314 |
|
|
the Program" means either the Program or any derivative work under
|
315 |
|
|
copyright law: that is to say, a work containing the Program or a
|
316 |
|
|
portion of it, either verbatim or with modifications and/or
|
317 |
|
|
translated into another language. (Hereinafter, translation is
|
318 |
|
|
included without limitation in the term "modification".) Each
|
319 |
|
|
licensee is addressed as "you".
|
320 |
|
|
|
321 |
|
|
Activities other than copying, distribution and modification are
|
322 |
|
|
not covered by this License; they are outside its scope. The act
|
323 |
|
|
of running the Program is not restricted, and the output from the
|
324 |
|
|
Program is covered only if its contents constitute a work based on
|
325 |
|
|
the Program (independent of having been made by running the
|
326 |
|
|
Program). Whether that is true depends on what the Program does.
|
327 |
|
|
|
328 |
|
|
1. You may copy and distribute verbatim copies of the Program's
|
329 |
|
|
source code as you receive it, in any medium, provided that you
|
330 |
|
|
conspicuously and appropriately publish on each copy an appropriate
|
331 |
|
|
copyright notice and disclaimer of warranty; keep intact all the
|
332 |
|
|
notices that refer to this License and to the absence of any
|
333 |
|
|
warranty; and give any other recipients of the Program a copy of
|
334 |
|
|
this License along with the Program.
|
335 |
|
|
|
336 |
|
|
You may charge a fee for the physical act of transferring a copy,
|
337 |
|
|
and you may at your option offer warranty protection in exchange
|
338 |
|
|
for a fee.
|
339 |
|
|
|
340 |
|
|
2. You may modify your copy or copies of the Program or any portion
|
341 |
|
|
of it, thus forming a work based on the Program, and copy and
|
342 |
|
|
distribute such modifications or work under the terms of Section 1
|
343 |
|
|
above, provided that you also meet all of these conditions:
|
344 |
|
|
|
345 |
|
|
a. You must cause the modified files to carry prominent notices
|
346 |
|
|
stating that you changed the files and the date of any change.
|
347 |
|
|
|
348 |
|
|
b. You must cause any work that you distribute or publish, that
|
349 |
|
|
in whole or in part contains or is derived from the Program
|
350 |
|
|
or any part thereof, to be licensed as a whole at no charge
|
351 |
|
|
to all third parties under the terms of this License.
|
352 |
|
|
|
353 |
|
|
c. If the modified program normally reads commands interactively
|
354 |
|
|
when run, you must cause it, when started running for such
|
355 |
|
|
interactive use in the most ordinary way, to print or display
|
356 |
|
|
an announcement including an appropriate copyright notice and
|
357 |
|
|
a notice that there is no warranty (or else, saying that you
|
358 |
|
|
provide a warranty) and that users may redistribute the
|
359 |
|
|
program under these conditions, and telling the user how to
|
360 |
|
|
view a copy of this License. (Exception: if the Program
|
361 |
|
|
itself is interactive but does not normally print such an
|
362 |
|
|
announcement, your work based on the Program is not required
|
363 |
|
|
to print an announcement.)
|
364 |
|
|
|
365 |
|
|
These requirements apply to the modified work as a whole. If
|
366 |
|
|
identifiable sections of that work are not derived from the
|
367 |
|
|
Program, and can be reasonably considered independent and separate
|
368 |
|
|
works in themselves, then this License, and its terms, do not
|
369 |
|
|
apply to those sections when you distribute them as separate
|
370 |
|
|
works. But when you distribute the same sections as part of a
|
371 |
|
|
whole which is a work based on the Program, the distribution of
|
372 |
|
|
the whole must be on the terms of this License, whose permissions
|
373 |
|
|
for other licensees extend to the entire whole, and thus to each
|
374 |
|
|
and every part regardless of who wrote it.
|
375 |
|
|
|
376 |
|
|
Thus, it is not the intent of this section to claim rights or
|
377 |
|
|
contest your rights to work written entirely by you; rather, the
|
378 |
|
|
intent is to exercise the right to control the distribution of
|
379 |
|
|
derivative or collective works based on the Program.
|
380 |
|
|
|
381 |
|
|
In addition, mere aggregation of another work not based on the
|
382 |
|
|
Program with the Program (or with a work based on the Program) on
|
383 |
|
|
a volume of a storage or distribution medium does not bring the
|
384 |
|
|
other work under the scope of this License.
|
385 |
|
|
|
386 |
|
|
3. You may copy and distribute the Program (or a work based on it,
|
387 |
|
|
under Section 2) in object code or executable form under the terms
|
388 |
|
|
of Sections 1 and 2 above provided that you also do one of the
|
389 |
|
|
following:
|
390 |
|
|
|
391 |
|
|
a. Accompany it with the complete corresponding machine-readable
|
392 |
|
|
source code, which must be distributed under the terms of
|
393 |
|
|
Sections 1 and 2 above on a medium customarily used for
|
394 |
|
|
software interchange; or,
|
395 |
|
|
|
396 |
|
|
b. Accompany it with a written offer, valid for at least three
|
397 |
|
|
years, to give any third party, for a charge no more than your
|
398 |
|
|
cost of physically performing source distribution, a complete
|
399 |
|
|
machine-readable copy of the corresponding source code, to be
|
400 |
|
|
distributed under the terms of Sections 1 and 2 above on a
|
401 |
|
|
medium customarily used for software interchange; or,
|
402 |
|
|
|
403 |
|
|
c. Accompany it with the information you received as to the offer
|
404 |
|
|
to distribute corresponding source code. (This alternative is
|
405 |
|
|
allowed only for noncommercial distribution and only if you
|
406 |
|
|
received the program in object code or executable form with
|
407 |
|
|
such an offer, in accord with Subsection b above.)
|
408 |
|
|
|
409 |
|
|
The source code for a work means the preferred form of the work for
|
410 |
|
|
making modifications to it. For an executable work, complete
|
411 |
|
|
source code means all the source code for all modules it contains,
|
412 |
|
|
plus any associated interface definition files, plus the scripts
|
413 |
|
|
used to control compilation and installation of the executable.
|
414 |
|
|
However, as a special exception, the source code distributed need
|
415 |
|
|
not include anything that is normally distributed (in either
|
416 |
|
|
source or binary form) with the major components (compiler,
|
417 |
|
|
kernel, and so on) of the operating system on which the executable
|
418 |
|
|
runs, unless that component itself accompanies the executable.
|
419 |
|
|
|
420 |
|
|
If distribution of executable or object code is made by offering
|
421 |
|
|
access to copy from a designated place, then offering equivalent
|
422 |
|
|
access to copy the source code from the same place counts as
|
423 |
|
|
distribution of the source code, even though third parties are not
|
424 |
|
|
compelled to copy the source along with the object code.
|
425 |
|
|
|
426 |
|
|
4. You may not copy, modify, sublicense, or distribute the Program
|
427 |
|
|
except as expressly provided under this License. Any attempt
|
428 |
|
|
otherwise to copy, modify, sublicense or distribute the Program is
|
429 |
|
|
void, and will automatically terminate your rights under this
|
430 |
|
|
License. However, parties who have received copies, or rights,
|
431 |
|
|
from you under this License will not have their licenses
|
432 |
|
|
terminated so long as such parties remain in full compliance.
|
433 |
|
|
|
434 |
|
|
5. You are not required to accept this License, since you have not
|
435 |
|
|
signed it. However, nothing else grants you permission to modify
|
436 |
|
|
or distribute the Program or its derivative works. These actions
|
437 |
|
|
are prohibited by law if you do not accept this License.
|
438 |
|
|
Therefore, by modifying or distributing the Program (or any work
|
439 |
|
|
based on the Program), you indicate your acceptance of this
|
440 |
|
|
License to do so, and all its terms and conditions for copying,
|
441 |
|
|
distributing or modifying the Program or works based on it.
|
442 |
|
|
|
443 |
|
|
6. Each time you redistribute the Program (or any work based on the
|
444 |
|
|
Program), the recipient automatically receives a license from the
|
445 |
|
|
original licensor to copy, distribute or modify the Program
|
446 |
|
|
subject to these terms and conditions. You may not impose any
|
447 |
|
|
further restrictions on the recipients' exercise of the rights
|
448 |
|
|
granted herein. You are not responsible for enforcing compliance
|
449 |
|
|
by third parties to this License.
|
450 |
|
|
|
451 |
|
|
7. If, as a consequence of a court judgment or allegation of patent
|
452 |
|
|
infringement or for any other reason (not limited to patent
|
453 |
|
|
issues), conditions are imposed on you (whether by court order,
|
454 |
|
|
agreement or otherwise) that contradict the conditions of this
|
455 |
|
|
License, they do not excuse you from the conditions of this
|
456 |
|
|
License. If you cannot distribute so as to satisfy simultaneously
|
457 |
|
|
your obligations under this License and any other pertinent
|
458 |
|
|
obligations, then as a consequence you may not distribute the
|
459 |
|
|
Program at all. For example, if a patent license would not permit
|
460 |
|
|
royalty-free redistribution of the Program by all those who
|
461 |
|
|
receive copies directly or indirectly through you, then the only
|
462 |
|
|
way you could satisfy both it and this License would be to refrain
|
463 |
|
|
entirely from distribution of the Program.
|
464 |
|
|
|
465 |
|
|
If any portion of this section is held invalid or unenforceable
|
466 |
|
|
under any particular circumstance, the balance of the section is
|
467 |
|
|
intended to apply and the section as a whole is intended to apply
|
468 |
|
|
in other circumstances.
|
469 |
|
|
|
470 |
|
|
It is not the purpose of this section to induce you to infringe any
|
471 |
|
|
patents or other property right claims or to contest validity of
|
472 |
|
|
any such claims; this section has the sole purpose of protecting
|
473 |
|
|
the integrity of the free software distribution system, which is
|
474 |
|
|
implemented by public license practices. Many people have made
|
475 |
|
|
generous contributions to the wide range of software distributed
|
476 |
|
|
through that system in reliance on consistent application of that
|
477 |
|
|
system; it is up to the author/donor to decide if he or she is
|
478 |
|
|
willing to distribute software through any other system and a
|
479 |
|
|
licensee cannot impose that choice.
|
480 |
|
|
|
481 |
|
|
This section is intended to make thoroughly clear what is believed
|
482 |
|
|
to be a consequence of the rest of this License.
|
483 |
|
|
|
484 |
|
|
8. If the distribution and/or use of the Program is restricted in
|
485 |
|
|
certain countries either by patents or by copyrighted interfaces,
|
486 |
|
|
the original copyright holder who places the Program under this
|
487 |
|
|
License may add an explicit geographical distribution limitation
|
488 |
|
|
excluding those countries, so that distribution is permitted only
|
489 |
|
|
in or among countries not thus excluded. In such case, this
|
490 |
|
|
License incorporates the limitation as if written in the body of
|
491 |
|
|
this License.
|
492 |
|
|
|
493 |
|
|
9. The Free Software Foundation may publish revised and/or new
|
494 |
|
|
versions of the General Public License from time to time. Such
|
495 |
|
|
new versions will be similar in spirit to the present version, but
|
496 |
|
|
may differ in detail to address new problems or concerns.
|
497 |
|
|
|
498 |
|
|
Each version is given a distinguishing version number. If the
|
499 |
|
|
Program specifies a version number of this License which applies
|
500 |
|
|
to it and "any later version", you have the option of following
|
501 |
|
|
the terms and conditions either of that version or of any later
|
502 |
|
|
version published by the Free Software Foundation. If the Program
|
503 |
|
|
does not specify a version number of this License, you may choose
|
504 |
|
|
any version ever published by the Free Software Foundation.
|
505 |
|
|
|
506 |
|
|
10. If you wish to incorporate parts of the Program into other free
|
507 |
|
|
programs whose distribution conditions are different, write to the
|
508 |
|
|
author to ask for permission. For software which is copyrighted
|
509 |
|
|
by the Free Software Foundation, write to the Free Software
|
510 |
|
|
Foundation; we sometimes make exceptions for this. Our decision
|
511 |
|
|
will be guided by the two goals of preserving the free status of
|
512 |
|
|
all derivatives of our free software and of promoting the sharing
|
513 |
|
|
and reuse of software generally.
|
514 |
|
|
|
515 |
|
|
NO WARRANTY
|
516 |
|
|
|
517 |
|
|
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO
|
518 |
|
|
WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE
|
519 |
|
|
LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
520 |
|
|
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT
|
521 |
|
|
WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT
|
522 |
|
|
NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
523 |
|
|
FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE
|
524 |
|
|
QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
525 |
|
|
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY
|
526 |
|
|
SERVICING, REPAIR OR CORRECTION.
|
527 |
|
|
|
528 |
|
|
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
529 |
|
|
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY
|
530 |
|
|
MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE
|
531 |
|
|
LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,
|
532 |
|
|
INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR
|
533 |
|
|
INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
534 |
|
|
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU
|
535 |
|
|
OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY
|
536 |
|
|
OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN
|
537 |
|
|
ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
538 |
|
|
|
539 |
|
|
END OF TERMS AND CONDITIONS
|
540 |
|
|
|
541 |
|
|
How to Apply These Terms to Your New Programs
|
542 |
|
|
=============================================
|
543 |
|
|
|
544 |
|
|
If you develop a new program, and you want it to be of the greatest
|
545 |
|
|
possible use to the public, the best way to achieve this is to make it
|
546 |
|
|
free software which everyone can redistribute and change under these
|
547 |
|
|
terms.
|
548 |
|
|
|
549 |
|
|
To do so, attach the following notices to the program. It is safest
|
550 |
|
|
to attach them to the start of each source file to most effectively
|
551 |
|
|
convey the exclusion of warranty; and each file should have at least
|
552 |
|
|
the "copyright" line and a pointer to where the full notice is found.
|
553 |
|
|
|
554 |
|
|
ONE LINE TO GIVE THE PROGRAM'S NAME AND A BRIEF IDEA OF WHAT IT DOES.
|
555 |
|
|
Copyright (C) YEAR NAME OF AUTHOR
|
556 |
|
|
|
557 |
|
|
This program is free software; you can redistribute it and/or modify
|
558 |
|
|
it under the terms of the GNU General Public License as published by
|
559 |
|
|
the Free Software Foundation; either version 2 of the License, or
|
560 |
|
|
(at your option) any later version.
|
561 |
|
|
|
562 |
|
|
This program is distributed in the hope that it will be useful,
|
563 |
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
564 |
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
565 |
|
|
GNU General Public License for more details.
|
566 |
|
|
|
567 |
|
|
You should have received a copy of the GNU General Public License
|
568 |
|
|
along with this program; if not, write to the Free Software
|
569 |
|
|
Foundation, Inc., 59 Temple Place - Suite 330,
|
570 |
|
|
Boston, MA 02111-1307, USA.
|
571 |
|
|
|
572 |
|
|
Also add information on how to contact you by electronic and paper
|
573 |
|
|
mail.
|
574 |
|
|
|
575 |
|
|
If the program is interactive, make it output a short notice like
|
576 |
|
|
this when it starts in an interactive mode:
|
577 |
|
|
|
578 |
|
|
Gnomovision version 69, Copyright (C) YEAR NAME OF AUTHOR
|
579 |
|
|
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details
|
580 |
|
|
type `show w'.
|
581 |
|
|
This is free software, and you are welcome to redistribute it
|
582 |
|
|
under certain conditions; type `show c' for details.
|
583 |
|
|
|
584 |
|
|
The hypothetical commands `show w' and `show c' should show the
|
585 |
|
|
appropriate parts of the General Public License. Of course, the
|
586 |
|
|
commands you use may be called something other than `show w' and `show
|
587 |
|
|
c'; they could even be mouse-clicks or menu items--whatever suits your
|
588 |
|
|
program.
|
589 |
|
|
|
590 |
|
|
You should also get your employer (if you work as a programmer) or
|
591 |
|
|
your school, if any, to sign a "copyright disclaimer" for the program,
|
592 |
|
|
if necessary. Here is a sample; alter the names:
|
593 |
|
|
|
594 |
|
|
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
595 |
|
|
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
596 |
|
|
|
597 |
|
|
SIGNATURE OF TY COON, 1 April 1989
|
598 |
|
|
Ty Coon, President of Vice
|
599 |
|
|
|
600 |
|
|
This General Public License does not permit incorporating your
|
601 |
|
|
program into proprietary programs. If your program is a subroutine
|
602 |
|
|
library, you may consider it more useful to permit linking proprietary
|
603 |
|
|
applications with the library. If this is what you want to do, use the
|
604 |
|
|
GNU Library General Public License instead of this License.
|
605 |
|
|
|
606 |
|
|
|
607 |
|
|
File: gdb.info, Node: GNU Free Documentation License, Next: Index, Prev: Copying, Up: Top
|
608 |
|
|
|
609 |
|
|
GNU Free Documentation License
|
610 |
|
|
******************************
|
611 |
|
|
|
612 |
|
|
Version 1.1, March 2000
|
613 |
|
|
Copyright (C) 2000 Free Software Foundation, Inc.
|
614 |
|
|
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
615 |
|
|
|
616 |
|
|
Everyone is permitted to copy and distribute verbatim copies
|
617 |
|
|
of this license document, but changing it is not allowed.
|
618 |
|
|
|
619 |
|
|
|
620 |
|
|
|
621 |
|
|
0. PREAMBLE
|
622 |
|
|
|
623 |
|
|
The purpose of this License is to make a manual, textbook, or other
|
624 |
|
|
written document "free" in the sense of freedom: to assure everyone
|
625 |
|
|
the effective freedom to copy and redistribute it, with or without
|
626 |
|
|
modifying it, either commercially or noncommercially. Secondarily,
|
627 |
|
|
this License preserves for the author and publisher a way to get
|
628 |
|
|
credit for their work, while not being considered responsible for
|
629 |
|
|
modifications made by others.
|
630 |
|
|
|
631 |
|
|
This License is a kind of "copyleft", which means that derivative
|
632 |
|
|
works of the document must themselves be free in the same sense.
|
633 |
|
|
It complements the GNU General Public License, which is a copyleft
|
634 |
|
|
license designed for free software.
|
635 |
|
|
|
636 |
|
|
We have designed this License in order to use it for manuals for
|
637 |
|
|
free software, because free software needs free documentation: a
|
638 |
|
|
free program should come with manuals providing the same freedoms
|
639 |
|
|
that the software does. But this License is not limited to
|
640 |
|
|
software manuals; it can be used for any textual work, regardless
|
641 |
|
|
of subject matter or whether it is published as a printed book.
|
642 |
|
|
We recommend this License principally for works whose purpose is
|
643 |
|
|
instruction or reference.
|
644 |
|
|
|
645 |
|
|
|
646 |
|
|
1. APPLICABILITY AND DEFINITIONS
|
647 |
|
|
|
648 |
|
|
This License applies to any manual or other work that contains a
|
649 |
|
|
notice placed by the copyright holder saying it can be distributed
|
650 |
|
|
under the terms of this License. The "Document", below, refers to
|
651 |
|
|
any such manual or work. Any member of the public is a licensee,
|
652 |
|
|
and is addressed as "you."
|
653 |
|
|
|
654 |
|
|
A "Modified Version" of the Document means any work containing the
|
655 |
|
|
Document or a portion of it, either copied verbatim, or with
|
656 |
|
|
modifications and/or translated into another language.
|
657 |
|
|
|
658 |
|
|
A "Secondary Section" is a named appendix or a front-matter
|
659 |
|
|
section of the Document that deals exclusively with the
|
660 |
|
|
relationship of the publishers or authors of the Document to the
|
661 |
|
|
Document's overall subject (or to related matters) and contains
|
662 |
|
|
nothing that could fall directly within that overall subject.
|
663 |
|
|
(For example, if the Document is in part a textbook of
|
664 |
|
|
mathematics, a Secondary Section may not explain any mathematics.)
|
665 |
|
|
The relationship could be a matter of historical connection with
|
666 |
|
|
the subject or with related matters, or of legal, commercial,
|
667 |
|
|
philosophical, ethical or political position regarding them.
|
668 |
|
|
|
669 |
|
|
The "Invariant Sections" are certain Secondary Sections whose
|
670 |
|
|
titles are designated, as being those of Invariant Sections, in
|
671 |
|
|
the notice that says that the Document is released under this
|
672 |
|
|
License.
|
673 |
|
|
|
674 |
|
|
The "Cover Texts" are certain short passages of text that are
|
675 |
|
|
listed, as Front-Cover Texts or Back-Cover Texts, in the notice
|
676 |
|
|
that says that the Document is released under this License.
|
677 |
|
|
|
678 |
|
|
A "Transparent" copy of the Document means a machine-readable copy,
|
679 |
|
|
represented in a format whose specification is available to the
|
680 |
|
|
general public, whose contents can be viewed and edited directly
|
681 |
|
|
and straightforwardly with generic text editors or (for images
|
682 |
|
|
composed of pixels) generic paint programs or (for drawings) some
|
683 |
|
|
widely available drawing editor, and that is suitable for input to
|
684 |
|
|
text formatters or for automatic translation to a variety of
|
685 |
|
|
formats suitable for input to text formatters. A copy made in an
|
686 |
|
|
otherwise Transparent file format whose markup has been designed
|
687 |
|
|
to thwart or discourage subsequent modification by readers is not
|
688 |
|
|
Transparent. A copy that is not "Transparent" is called "Opaque."
|
689 |
|
|
|
690 |
|
|
Examples of suitable formats for Transparent copies include plain
|
691 |
|
|
ASCII without markup, Texinfo input format, LaTeX input format,
|
692 |
|
|
SGML or XML using a publicly available DTD, and
|
693 |
|
|
standard-conforming simple HTML designed for human modification.
|
694 |
|
|
Opaque formats include PostScript, PDF, proprietary formats that
|
695 |
|
|
can be read and edited only by proprietary word processors, SGML
|
696 |
|
|
or XML for which the DTD and/or processing tools are not generally
|
697 |
|
|
available, and the machine-generated HTML produced by some word
|
698 |
|
|
processors for output purposes only.
|
699 |
|
|
|
700 |
|
|
The "Title Page" means, for a printed book, the title page itself,
|
701 |
|
|
plus such following pages as are needed to hold, legibly, the
|
702 |
|
|
material this License requires to appear in the title page. For
|
703 |
|
|
works in formats which do not have any title page as such, "Title
|
704 |
|
|
Page" means the text near the most prominent appearance of the
|
705 |
|
|
work's title, preceding the beginning of the body of the text.
|
706 |
|
|
|
707 |
|
|
|
708 |
|
|
2. VERBATIM COPYING
|
709 |
|
|
|
710 |
|
|
You may copy and distribute the Document in any medium, either
|
711 |
|
|
commercially or noncommercially, provided that this License, the
|
712 |
|
|
copyright notices, and the license notice saying this License
|
713 |
|
|
applies to the Document are reproduced in all copies, and that you
|
714 |
|
|
add no other conditions whatsoever to those of this License. You
|
715 |
|
|
may not use technical measures to obstruct or control the reading
|
716 |
|
|
or further copying of the copies you make or distribute. However,
|
717 |
|
|
you may accept compensation in exchange for copies. If you
|
718 |
|
|
distribute a large enough number of copies you must also follow
|
719 |
|
|
the conditions in section 3.
|
720 |
|
|
|
721 |
|
|
You may also lend copies, under the same conditions stated above,
|
722 |
|
|
and you may publicly display copies.
|
723 |
|
|
|
724 |
|
|
|
725 |
|
|
3. COPYING IN QUANTITY
|
726 |
|
|
|
727 |
|
|
If you publish printed copies of the Document numbering more than
|
728 |
|
|
100, and the Document's license notice requires Cover Texts, you
|
729 |
|
|
must enclose the copies in covers that carry, clearly and legibly,
|
730 |
|
|
all these Cover Texts: Front-Cover Texts on the front cover, and
|
731 |
|
|
Back-Cover Texts on the back cover. Both covers must also clearly
|
732 |
|
|
and legibly identify you as the publisher of these copies. The
|
733 |
|
|
front cover must present the full title with all words of the
|
734 |
|
|
title equally prominent and visible. You may add other material
|
735 |
|
|
on the covers in addition. Copying with changes limited to the
|
736 |
|
|
covers, as long as they preserve the title of the Document and
|
737 |
|
|
satisfy these conditions, can be treated as verbatim copying in
|
738 |
|
|
other respects.
|
739 |
|
|
|
740 |
|
|
If the required texts for either cover are too voluminous to fit
|
741 |
|
|
legibly, you should put the first ones listed (as many as fit
|
742 |
|
|
reasonably) on the actual cover, and continue the rest onto
|
743 |
|
|
adjacent pages.
|
744 |
|
|
|
745 |
|
|
If you publish or distribute Opaque copies of the Document
|
746 |
|
|
numbering more than 100, you must either include a
|
747 |
|
|
machine-readable Transparent copy along with each Opaque copy, or
|
748 |
|
|
state in or with each Opaque copy a publicly-accessible
|
749 |
|
|
computer-network location containing a complete Transparent copy
|
750 |
|
|
of the Document, free of added material, which the general
|
751 |
|
|
network-using public has access to download anonymously at no
|
752 |
|
|
charge using public-standard network protocols. If you use the
|
753 |
|
|
latter option, you must take reasonably prudent steps, when you
|
754 |
|
|
begin distribution of Opaque copies in quantity, to ensure that
|
755 |
|
|
this Transparent copy will remain thus accessible at the stated
|
756 |
|
|
location until at least one year after the last time you
|
757 |
|
|
distribute an Opaque copy (directly or through your agents or
|
758 |
|
|
retailers) of that edition to the public.
|
759 |
|
|
|
760 |
|
|
It is requested, but not required, that you contact the authors of
|
761 |
|
|
the Document well before redistributing any large number of
|
762 |
|
|
copies, to give them a chance to provide you with an updated
|
763 |
|
|
version of the Document.
|
764 |
|
|
|
765 |
|
|
|
766 |
|
|
4. MODIFICATIONS
|
767 |
|
|
|
768 |
|
|
You may copy and distribute a Modified Version of the Document
|
769 |
|
|
under the conditions of sections 2 and 3 above, provided that you
|
770 |
|
|
release the Modified Version under precisely this License, with
|
771 |
|
|
the Modified Version filling the role of the Document, thus
|
772 |
|
|
licensing distribution and modification of the Modified Version to
|
773 |
|
|
whoever possesses a copy of it. In addition, you must do these
|
774 |
|
|
things in the Modified Version:
|
775 |
|
|
|
776 |
|
|
A. Use in the Title Page (and on the covers, if any) a title
|
777 |
|
|
distinct from that of the Document, and from those of previous
|
778 |
|
|
versions (which should, if there were any, be listed in the
|
779 |
|
|
History section of the Document). You may use the same title
|
780 |
|
|
as a previous version if the original publisher of that version
|
781 |
|
|
gives permission.
|
782 |
|
|
B. List on the Title Page, as authors, one or more persons or
|
783 |
|
|
entities responsible for authorship of the modifications in the
|
784 |
|
|
Modified Version, together with at least five of the principal
|
785 |
|
|
authors of the Document (all of its principal authors, if it
|
786 |
|
|
has less than five).
|
787 |
|
|
C. State on the Title page the name of the publisher of the
|
788 |
|
|
Modified Version, as the publisher.
|
789 |
|
|
D. Preserve all the copyright notices of the Document.
|
790 |
|
|
E. Add an appropriate copyright notice for your modifications
|
791 |
|
|
adjacent to the other copyright notices.
|
792 |
|
|
F. Include, immediately after the copyright notices, a license
|
793 |
|
|
notice giving the public permission to use the Modified Version
|
794 |
|
|
under the terms of this License, in the form shown in the
|
795 |
|
|
Addendum below.
|
796 |
|
|
G. Preserve in that license notice the full lists of Invariant
|
797 |
|
|
Sections and required Cover Texts given in the Document's
|
798 |
|
|
license notice.
|
799 |
|
|
H. Include an unaltered copy of this License.
|
800 |
|
|
I. Preserve the section entitled "History", and its title, and add
|
801 |
|
|
to it an item stating at least the title, year, new authors, and
|
802 |
|
|
publisher of the Modified Version as given on the Title Page.
|
803 |
|
|
If there is no section entitled "History" in the Document,
|
804 |
|
|
create one stating the title, year, authors, and publisher of
|
805 |
|
|
the Document as given on its Title Page, then add an item
|
806 |
|
|
describing the Modified Version as stated in the previous
|
807 |
|
|
sentence.
|
808 |
|
|
J. Preserve the network location, if any, given in the Document for
|
809 |
|
|
public access to a Transparent copy of the Document, and
|
810 |
|
|
likewise the network locations given in the Document for
|
811 |
|
|
previous versions it was based on. These may be placed in the
|
812 |
|
|
"History" section. You may omit a network location for a work
|
813 |
|
|
that was published at least four years before the Document
|
814 |
|
|
itself, or if the original publisher of the version it refers
|
815 |
|
|
to gives permission.
|
816 |
|
|
K. In any section entitled "Acknowledgements" or "Dedications",
|
817 |
|
|
preserve the section's title, and preserve in the section all the
|
818 |
|
|
substance and tone of each of the contributor acknowledgements
|
819 |
|
|
and/or dedications given therein.
|
820 |
|
|
L. Preserve all the Invariant Sections of the Document,
|
821 |
|
|
unaltered in their text and in their titles. Section numbers
|
822 |
|
|
or the equivalent are not considered part of the section titles.
|
823 |
|
|
M. Delete any section entitled "Endorsements." Such a section
|
824 |
|
|
may not be included in the Modified Version.
|
825 |
|
|
N. Do not retitle any existing section as "Endorsements" or to
|
826 |
|
|
conflict in title with any Invariant Section.
|
827 |
|
|
|
828 |
|
|
If the Modified Version includes new front-matter sections or
|
829 |
|
|
appendices that qualify as Secondary Sections and contain no
|
830 |
|
|
material copied from the Document, you may at your option
|
831 |
|
|
designate some or all of these sections as invariant. To do this,
|
832 |
|
|
add their titles to the list of Invariant Sections in the Modified
|
833 |
|
|
Version's license notice. These titles must be distinct from any
|
834 |
|
|
other section titles.
|
835 |
|
|
|
836 |
|
|
You may add a section entitled "Endorsements", provided it contains
|
837 |
|
|
nothing but endorsements of your Modified Version by various
|
838 |
|
|
parties-for example, statements of peer review or that the text has
|
839 |
|
|
been approved by an organization as the authoritative definition
|
840 |
|
|
of a standard.
|
841 |
|
|
|
842 |
|
|
You may add a passage of up to five words as a Front-Cover Text,
|
843 |
|
|
and a passage of up to 25 words as a Back-Cover Text, to the end
|
844 |
|
|
of the list of Cover Texts in the Modified Version. Only one
|
845 |
|
|
passage of Front-Cover Text and one of Back-Cover Text may be
|
846 |
|
|
added by (or through arrangements made by) any one entity. If the
|
847 |
|
|
Document already includes a cover text for the same cover,
|
848 |
|
|
previously added by you or by arrangement made by the same entity
|
849 |
|
|
you are acting on behalf of, you may not add another; but you may
|
850 |
|
|
replace the old one, on explicit permission from the previous
|
851 |
|
|
publisher that added the old one.
|
852 |
|
|
|
853 |
|
|
The author(s) and publisher(s) of the Document do not by this
|
854 |
|
|
License give permission to use their names for publicity for or to
|
855 |
|
|
assert or imply endorsement of any Modified Version.
|
856 |
|
|
|
857 |
|
|
|
858 |
|
|
5. COMBINING DOCUMENTS
|
859 |
|
|
|
860 |
|
|
You may combine the Document with other documents released under
|
861 |
|
|
this License, under the terms defined in section 4 above for
|
862 |
|
|
modified versions, provided that you include in the combination
|
863 |
|
|
all of the Invariant Sections of all of the original documents,
|
864 |
|
|
unmodified, and list them all as Invariant Sections of your
|
865 |
|
|
combined work in its license notice.
|
866 |
|
|
|
867 |
|
|
The combined work need only contain one copy of this License, and
|
868 |
|
|
multiple identical Invariant Sections may be replaced with a single
|
869 |
|
|
copy. If there are multiple Invariant Sections with the same name
|
870 |
|
|
but different contents, make the title of each such section unique
|
871 |
|
|
by adding at the end of it, in parentheses, the name of the
|
872 |
|
|
original author or publisher of that section if known, or else a
|
873 |
|
|
unique number. Make the same adjustment to the section titles in
|
874 |
|
|
the list of Invariant Sections in the license notice of the
|
875 |
|
|
combined work.
|
876 |
|
|
|
877 |
|
|
In the combination, you must combine any sections entitled
|
878 |
|
|
"History" in the various original documents, forming one section
|
879 |
|
|
entitled "History"; likewise combine any sections entitled
|
880 |
|
|
"Acknowledgements", and any sections entitled "Dedications." You
|
881 |
|
|
must delete all sections entitled "Endorsements."
|
882 |
|
|
|
883 |
|
|
|
884 |
|
|
6. COLLECTIONS OF DOCUMENTS
|
885 |
|
|
|
886 |
|
|
You may make a collection consisting of the Document and other
|
887 |
|
|
documents released under this License, and replace the individual
|
888 |
|
|
copies of this License in the various documents with a single copy
|
889 |
|
|
that is included in the collection, provided that you follow the
|
890 |
|
|
rules of this License for verbatim copying of each of the
|
891 |
|
|
documents in all other respects.
|
892 |
|
|
|
893 |
|
|
You may extract a single document from such a collection, and
|
894 |
|
|
distribute it individually under this License, provided you insert
|
895 |
|
|
a copy of this License into the extracted document, and follow
|
896 |
|
|
this License in all other respects regarding verbatim copying of
|
897 |
|
|
that document.
|
898 |
|
|
|
899 |
|
|
|
900 |
|
|
7. AGGREGATION WITH INDEPENDENT WORKS
|
901 |
|
|
|
902 |
|
|
A compilation of the Document or its derivatives with other
|
903 |
|
|
separate and independent documents or works, in or on a volume of
|
904 |
|
|
a storage or distribution medium, does not as a whole count as a
|
905 |
|
|
Modified Version of the Document, provided no compilation
|
906 |
|
|
copyright is claimed for the compilation. Such a compilation is
|
907 |
|
|
called an "aggregate", and this License does not apply to the
|
908 |
|
|
other self-contained works thus compiled with the Document, on
|
909 |
|
|
account of their being thus compiled, if they are not themselves
|
910 |
|
|
derivative works of the Document.
|
911 |
|
|
|
912 |
|
|
If the Cover Text requirement of section 3 is applicable to these
|
913 |
|
|
copies of the Document, then if the Document is less than one
|
914 |
|
|
quarter of the entire aggregate, the Document's Cover Texts may be
|
915 |
|
|
placed on covers that surround only the Document within the
|
916 |
|
|
aggregate. Otherwise they must appear on covers around the whole
|
917 |
|
|
aggregate.
|
918 |
|
|
|
919 |
|
|
|
920 |
|
|
8. TRANSLATION
|
921 |
|
|
|
922 |
|
|
Translation is considered a kind of modification, so you may
|
923 |
|
|
distribute translations of the Document under the terms of section
|
924 |
|
|
4. Replacing Invariant Sections with translations requires special
|
925 |
|
|
permission from their copyright holders, but you may include
|
926 |
|
|
translations of some or all Invariant Sections in addition to the
|
927 |
|
|
original versions of these Invariant Sections. You may include a
|
928 |
|
|
translation of this License provided that you also include the
|
929 |
|
|
original English version of this License. In case of a
|
930 |
|
|
disagreement between the translation and the original English
|
931 |
|
|
version of this License, the original English version will prevail.
|
932 |
|
|
|
933 |
|
|
|
934 |
|
|
9. TERMINATION
|
935 |
|
|
|
936 |
|
|
You may not copy, modify, sublicense, or distribute the Document
|
937 |
|
|
except as expressly provided for under this License. Any other
|
938 |
|
|
attempt to copy, modify, sublicense or distribute the Document is
|
939 |
|
|
void, and will automatically terminate your rights under this
|
940 |
|
|
License. However, parties who have received copies, or rights,
|
941 |
|
|
from you under this License will not have their licenses
|
942 |
|
|
terminated so long as such parties remain in full compliance.
|
943 |
|
|
|
944 |
|
|
|
945 |
|
|
10. FUTURE REVISIONS OF THIS LICENSE
|
946 |
|
|
|
947 |
|
|
The Free Software Foundation may publish new, revised versions of
|
948 |
|
|
the GNU Free Documentation License from time to time. Such new
|
949 |
|
|
versions will be similar in spirit to the present version, but may
|
950 |
|
|
differ in detail to address new problems or concerns. See
|
951 |
|
|
http://www.gnu.org/copyleft/.
|
952 |
|
|
|
953 |
|
|
Each version of the License is given a distinguishing version
|
954 |
|
|
number. If the Document specifies that a particular numbered
|
955 |
|
|
version of this License "or any later version" applies to it, you
|
956 |
|
|
have the option of following the terms and conditions either of
|
957 |
|
|
that specified version or of any later version that has been
|
958 |
|
|
published (not as a draft) by the Free Software Foundation. If
|
959 |
|
|
the Document does not specify a version number of this License,
|
960 |
|
|
you may choose any version ever published (not as a draft) by the
|
961 |
|
|
Free Software Foundation.
|
962 |
|
|
|
963 |
|
|
|
964 |
|
|
ADDENDUM: How to use this License for your documents
|
965 |
|
|
====================================================
|
966 |
|
|
|
967 |
|
|
To use this License in a document you have written, include a copy of
|
968 |
|
|
the License in the document and put the following copyright and license
|
969 |
|
|
notices just after the title page:
|
970 |
|
|
|
971 |
|
|
Copyright (C) YEAR YOUR NAME.
|
972 |
|
|
Permission is granted to copy, distribute and/or modify this document
|
973 |
|
|
under the terms of the GNU Free Documentation License, Version 1.1
|
974 |
|
|
or any later version published by the Free Software Foundation;
|
975 |
|
|
with the Invariant Sections being LIST THEIR TITLES, with the
|
976 |
|
|
Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
|
977 |
|
|
A copy of the license is included in the section entitled "GNU
|
978 |
|
|
Free Documentation License."
|
979 |
|
|
|
980 |
|
|
If you have no Invariant Sections, write "with no Invariant Sections"
|
981 |
|
|
instead of saying which ones are invariant. If you have no Front-Cover
|
982 |
|
|
Texts, write "no Front-Cover Texts" instead of "Front-Cover Texts being
|
983 |
|
|
LIST"; likewise for Back-Cover Texts.
|
984 |
|
|
|
985 |
|
|
If your document contains nontrivial examples of program code, we
|
986 |
|
|
recommend releasing these examples in parallel under your choice of
|
987 |
|
|
free software license, such as the GNU General Public License, to
|
988 |
|
|
permit their use in free software.
|
989 |
|
|
|