]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/COPYING
gdb-2.4+.aux.coff
[thirdparty/binutils-gdb.git] / gdb / COPYING
CommitLineData
7b4ac7e1 1
2 GDB GENERAL PUBLIC LICENSE
3 (Clarified 20 March 1987)
4
5 Copyright (C) 1986 Richard M. Stallman
6 Everyone is permitted to copy and distribute verbatim copies
7 of this license, but changing it is not allowed.
8
9 The license agreements of most software companies keep you at the
10mercy of those companies. By contrast, our general public license is
11intended to give everyone the right to share GDB. To make sure that
12you get the rights we want you to have, we need to make restrictions
13that forbid anyone to deny you these rights or to ask you to surrender
14the rights. Hence this license agreement.
15
16 Specifically, we want to make sure that you have the right to give
17away copies of GDB, that you receive source code or else can get it
18if you want it, that you can change GDB or use pieces of it in new
19free programs, and that you know you can do these things.
20
21 To make sure that everyone has such rights, we have to forbid you to
22deprive anyone else of these rights. For example, if you distribute
23copies of GDB, you must give the recipients all the rights that you
24have. You must make sure that they, too, receive or can get the
25source code. And you must tell them their rights.
26
27 Also, for our own protection, we must make certain that everyone
28finds out that there is no warranty for GDB. If GDB is modified by
29someone else and passed on, we want its recipients to know that what
30they have is not what we distributed, so that any problems introduced
31by others will not reflect on our reputation.
32
33 Therefore we (Richard Stallman and the Free Software Foundation,
34Inc.) make the following terms which say what you must do to be
35allowed to distribute or change GDB.
36
37
38 COPYING POLICIES
39
40 1. You may copy and distribute verbatim copies of GDB source code as
41you receive it, in any medium, provided that you conspicuously and
42appropriately publish on each copy a valid copyright notice "Copyright
43(C) 1986 Free Software Foundation, Inc." (or with the year updated if
44that is appropriate); keep intact the notices on all files that refer
45to this License Agreement and to the absence of any warranty; and give
46any other recipients of the GDB program a copy of this License
47Agreement along with the program. You may charge a distribution fee
48for the physical act of transferring a copy.
49
50 2. You may modify your copy or copies of GDB or any portion of it,
51and copy and distribute such modifications under the terms of
52Paragraph 1 above, provided that you also do the following:
53
54 a) cause the modified files to carry prominent notices stating
55 that you changed the files and the date of any change; and
56
57 b) cause the whole of any work that you distribute or publish,
58 that in whole or in part contains or is a derivative of GDB or any
59 part thereof, to be licensed at no charge to all third parties on
60 terms identical to those contained in this License Agreement
61 (except that you may choose to grant more extensive warranty
62 protection to third parties, at your option).
63
64 c) if the modified program serves as a debugger, cause it
65 when started running in the simplest and usual way, to print
66 an announcement including a valid copyright notice
67 "Copyright (C) 1986 Free Software Foundation, Inc." (or with
68 the year updated if appropriate), saying that there
69 is no warranty (or else, saying that you provide
70 a warranty) and that users may redistribute the program under
71 these conditions, and telling the user how to view a copy of
72 this License Agreement.
73
74 d) You may charge a distribution fee for the physical act of
75 transferring a copy, and you may at your option offer warranty
76 protection in exchange for a fee.
77
78 3. You may copy and distribute GDB or any portion of it in
79compiled, executable or object code form under the terms of Paragraphs
801 and 2 above provided that you do the following:
81
82 a) cause each such copy to be accompanied by the
83 corresponding machine-readable source code, which must
84 be distributed under the terms of Paragraphs 1 and 2 above; or,
85
86 b) cause each such copy to be accompanied by a
87 written offer, with no time limit, to give any third party
88 free (except for a nominal shipping charge) a machine readable
89 copy of the corresponding source code, to be distributed
90 under the terms of Paragraphs 1 and 2 above; or,
91
92 c) in the case of a recipient of GDB in compiled, executable
93 or object code form (without the corresponding source code) you
94 shall cause copies you distribute to be accompanied by a copy
95 of the written offer of source code which you received along
96 with the copy you received.
97
98 4. You may not copy, sublicense, distribute or transfer GDB
99except as expressly provided under this License Agreement. Any attempt
100otherwise to copy, sublicense, distribute or transfer GDB is void and
101your rights to use the program under this License agreement shall be
102automatically terminated. However, parties who have received computer
103software programs from you with this License Agreement will not have
104their licenses terminated so long as such parties remain in full compliance.
105
106 5. If you wish to incorporate parts of GDB into other free
107programs whose distribution conditions are different, write to the Free
108Software Foundation at 675 Mass Ave, Cambridge, MA 02139. We have not yet
109worked out a simple rule that can be stated here, but we will often permit
110this. We will be guided by the two goals of preserving the free status of
111all derivatives of our free software and of promoting the sharing and reuse
112of software.
113
114In other words, go ahead and share GDB, but don't try to stop
115anyone else from sharing it farther. Help stamp out software hoarding!
116
117 NO WARRANTY
118
119 BECAUSE GDB IS LICENSED FREE OF CHARGE, WE PROVIDE ABSOLUTELY NO
120WARRANTY, TO THE EXTENT PERMITTED BY APPLICABLE STATE LAW. EXCEPT
121WHEN OTHERWISE STATED IN WRITING, FREE SOFTWARE FOUNDATION, INC,
122RICHARD M. STALLMAN AND/OR OTHER PARTIES PROVIDE GDB "AS IS" WITHOUT
123WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT
124LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
125A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND
126PERFORMANCE OF GDB IS WITH YOU. SHOULD GDB PROVE DEFECTIVE, YOU
127ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
128
129 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW WILL RICHARD M.
130STALLMAN, THE FREE SOFTWARE FOUNDATION, INC., AND/OR ANY OTHER PARTY
131WHO MAY MODIFY AND REDISTRIBUTE GDB AS PERMITTED ABOVE, BE LIABLE TO
132YOU FOR DAMAGES, INCLUDING ANY LOST PROFITS, LOST MONIES, OR OTHER
133SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR
134INABILITY TO USE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA
135BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY THIRD PARTIES OR A
136FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS) GDB, EVEN
137IF YOU HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, OR FOR
138ANY CLAIM BY ANY OTHER PARTY.