GDB (API)
|
00001 /* ==> Do not modify this file!! -*- buffer-read-only: t -*- vi:set ro: 00002 It is created automatically by copying.awk. 00003 Modify copying.awk instead. <== */ 00004 00005 #include "defs.h" 00006 #include "command.h" 00007 #include "gdbcmd.h" 00008 00009 static void show_copying_command (char *, int); 00010 00011 static void show_warranty_command (char *, int); 00012 00013 void _initialize_copying (void); 00014 00015 static void 00016 show_copying_command (char *ignore, int from_tty) 00017 { 00018 printf_filtered (" GNU GENERAL PUBLIC LICENSE\n"); 00019 printf_filtered (" Version 3, 29 June 2007\n"); 00020 printf_filtered ("\n"); 00021 printf_filtered (" Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n"); 00022 printf_filtered (" Everyone is permitted to copy and distribute verbatim copies\n"); 00023 printf_filtered (" of this license document, but changing it is not allowed.\n"); 00024 printf_filtered ("\n"); 00025 printf_filtered (" Preamble\n"); 00026 printf_filtered ("\n"); 00027 printf_filtered (" The GNU General Public License is a free, copyleft license for\n"); 00028 printf_filtered ("software and other kinds of works.\n"); 00029 printf_filtered ("\n"); 00030 printf_filtered (" The licenses for most software and other practical works are designed\n"); 00031 printf_filtered ("to take away your freedom to share and change the works. By contrast,\n"); 00032 printf_filtered ("the GNU General Public License is intended to guarantee your freedom to\n"); 00033 printf_filtered ("share and change all versions of a program--to make sure it remains free\n"); 00034 printf_filtered ("software for all its users. We, the Free Software Foundation, use the\n"); 00035 printf_filtered ("GNU General Public License for most of our software; it applies also to\n"); 00036 printf_filtered ("any other work released this way by its authors. You can apply it to\n"); 00037 printf_filtered ("your programs, too.\n"); 00038 printf_filtered ("\n"); 00039 printf_filtered (" When we speak of free software, we are referring to freedom, not\n"); 00040 printf_filtered ("price. Our General Public Licenses are designed to make sure that you\n"); 00041 printf_filtered ("have the freedom to distribute copies of free software (and charge for\n"); 00042 printf_filtered ("them if you wish), that you receive source code or can get it if you\n"); 00043 printf_filtered ("want it, that you can change the software or use pieces of it in new\n"); 00044 printf_filtered ("free programs, and that you know you can do these things.\n"); 00045 printf_filtered ("\n"); 00046 printf_filtered (" To protect your rights, we need to prevent others from denying you\n"); 00047 printf_filtered ("these rights or asking you to surrender the rights. Therefore, you have\n"); 00048 printf_filtered ("certain responsibilities if you distribute copies of the software, or if\n"); 00049 printf_filtered ("you modify it: responsibilities to respect the freedom of others.\n"); 00050 printf_filtered ("\n"); 00051 printf_filtered (" For example, if you distribute copies of such a program, whether\n"); 00052 printf_filtered ("gratis or for a fee, you must pass on to the recipients the same\n"); 00053 printf_filtered ("freedoms that you received. You must make sure that they, too, receive\n"); 00054 printf_filtered ("or can get the source code. And you must show them these terms so they\n"); 00055 printf_filtered ("know their rights.\n"); 00056 printf_filtered ("\n"); 00057 printf_filtered (" Developers that use the GNU GPL protect your rights with two steps:\n"); 00058 printf_filtered ("(1) assert copyright on the software, and (2) offer you this License\n"); 00059 printf_filtered ("giving you legal permission to copy, distribute and/or modify it.\n"); 00060 printf_filtered ("\n"); 00061 printf_filtered (" For the developers' and authors' protection, the GPL clearly explains\n"); 00062 printf_filtered ("that there is no warranty for this free software. For both users' and\n"); 00063 printf_filtered ("authors' sake, the GPL requires that modified versions be marked as\n"); 00064 printf_filtered ("changed, so that their problems will not be attributed erroneously to\n"); 00065 printf_filtered ("authors of previous versions.\n"); 00066 printf_filtered ("\n"); 00067 printf_filtered (" Some devices are designed to deny users access to install or run\n"); 00068 printf_filtered ("modified versions of the software inside them, although the manufacturer\n"); 00069 printf_filtered ("can do so. This is fundamentally incompatible with the aim of\n"); 00070 printf_filtered ("protecting users' freedom to change the software. The systematic\n"); 00071 printf_filtered ("pattern of such abuse occurs in the area of products for individuals to\n"); 00072 printf_filtered ("use, which is precisely where it is most unacceptable. Therefore, we\n"); 00073 printf_filtered ("have designed this version of the GPL to prohibit the practice for those\n"); 00074 printf_filtered ("products. If such problems arise substantially in other domains, we\n"); 00075 printf_filtered ("stand ready to extend this provision to those domains in future versions\n"); 00076 printf_filtered ("of the GPL, as needed to protect the freedom of users.\n"); 00077 printf_filtered ("\n"); 00078 printf_filtered (" Finally, every program is threatened constantly by software patents.\n"); 00079 printf_filtered ("States should not allow patents to restrict development and use of\n"); 00080 printf_filtered ("software on general-purpose computers, but in those that do, we wish to\n"); 00081 printf_filtered ("avoid the special danger that patents applied to a free program could\n"); 00082 printf_filtered ("make it effectively proprietary. To prevent this, the GPL assures that\n"); 00083 printf_filtered ("patents cannot be used to render the program non-free.\n"); 00084 printf_filtered ("\n"); 00085 printf_filtered (" The precise terms and conditions for copying, distribution and\n"); 00086 printf_filtered ("modification follow.\n"); 00087 printf_filtered ("\n"); 00088 printf_filtered (" TERMS AND CONDITIONS\n"); 00089 printf_filtered ("\n"); 00090 printf_filtered (" 0. Definitions.\n"); 00091 printf_filtered ("\n"); 00092 printf_filtered (" \"This License\" refers to version 3 of the GNU General Public License.\n"); 00093 printf_filtered ("\n"); 00094 printf_filtered (" \"Copyright\" also means copyright-like laws that apply to other kinds of\n"); 00095 printf_filtered ("works, such as semiconductor masks.\n"); 00096 printf_filtered ("\n"); 00097 printf_filtered (" \"The Program\" refers to any copyrightable work licensed under this\n"); 00098 printf_filtered ("License. Each licensee is addressed as \"you\". \"Licensees\" and\n"); 00099 printf_filtered ("\"recipients\" may be individuals or organizations.\n"); 00100 printf_filtered ("\n"); 00101 printf_filtered (" To \"modify\" a work means to copy from or adapt all or part of the work\n"); 00102 printf_filtered ("in a fashion requiring copyright permission, other than the making of an\n"); 00103 printf_filtered ("exact copy. The resulting work is called a \"modified version\" of the\n"); 00104 printf_filtered ("earlier work or a work \"based on\" the earlier work.\n"); 00105 printf_filtered ("\n"); 00106 printf_filtered (" A \"covered work\" means either the unmodified Program or a work based\n"); 00107 printf_filtered ("on the Program.\n"); 00108 printf_filtered ("\n"); 00109 printf_filtered (" To \"propagate\" a work means to do anything with it that, without\n"); 00110 printf_filtered ("permission, would make you directly or secondarily liable for\n"); 00111 printf_filtered ("infringement under applicable copyright law, except executing it on a\n"); 00112 printf_filtered ("computer or modifying a private copy. Propagation includes copying,\n"); 00113 printf_filtered ("distribution (with or without modification), making available to the\n"); 00114 printf_filtered ("public, and in some countries other activities as well.\n"); 00115 printf_filtered ("\n"); 00116 printf_filtered (" To \"convey\" a work means any kind of propagation that enables other\n"); 00117 printf_filtered ("parties to make or receive copies. Mere interaction with a user through\n"); 00118 printf_filtered ("a computer network, with no transfer of a copy, is not conveying.\n"); 00119 printf_filtered ("\n"); 00120 printf_filtered (" An interactive user interface displays \"Appropriate Legal Notices\"\n"); 00121 printf_filtered ("to the extent that it includes a convenient and prominently visible\n"); 00122 printf_filtered ("feature that (1) displays an appropriate copyright notice, and (2)\n"); 00123 printf_filtered ("tells the user that there is no warranty for the work (except to the\n"); 00124 printf_filtered ("extent that warranties are provided), that licensees may convey the\n"); 00125 printf_filtered ("work under this License, and how to view a copy of this License. If\n"); 00126 printf_filtered ("the interface presents a list of user commands or options, such as a\n"); 00127 printf_filtered ("menu, a prominent item in the list meets this criterion.\n"); 00128 printf_filtered ("\n"); 00129 printf_filtered (" 1. Source Code.\n"); 00130 printf_filtered ("\n"); 00131 printf_filtered (" The \"source code\" for a work means the preferred form of the work\n"); 00132 printf_filtered ("for making modifications to it. \"Object code\" means any non-source\n"); 00133 printf_filtered ("form of a work.\n"); 00134 printf_filtered ("\n"); 00135 printf_filtered (" A \"Standard Interface\" means an interface that either is an official\n"); 00136 printf_filtered ("standard defined by a recognized standards body, or, in the case of\n"); 00137 printf_filtered ("interfaces specified for a particular programming language, one that\n"); 00138 printf_filtered ("is widely used among developers working in that language.\n"); 00139 printf_filtered ("\n"); 00140 printf_filtered (" The \"System Libraries\" of an executable work include anything, other\n"); 00141 printf_filtered ("than the work as a whole, that (a) is included in the normal form of\n"); 00142 printf_filtered ("packaging a Major Component, but which is not part of that Major\n"); 00143 printf_filtered ("Component, and (b) serves only to enable use of the work with that\n"); 00144 printf_filtered ("Major Component, or to implement a Standard Interface for which an\n"); 00145 printf_filtered ("implementation is available to the public in source code form. A\n"); 00146 printf_filtered ("\"Major Component\", in this context, means a major essential component\n"); 00147 printf_filtered ("(kernel, window system, and so on) of the specific operating system\n"); 00148 printf_filtered ("(if any) on which the executable work runs, or a compiler used to\n"); 00149 printf_filtered ("produce the work, or an object code interpreter used to run it.\n"); 00150 printf_filtered ("\n"); 00151 printf_filtered (" The \"Corresponding Source\" for a work in object code form means all\n"); 00152 printf_filtered ("the source code needed to generate, install, and (for an executable\n"); 00153 printf_filtered ("work) run the object code and to modify the work, including scripts to\n"); 00154 printf_filtered ("control those activities. However, it does not include the work's\n"); 00155 printf_filtered ("System Libraries, or general-purpose tools or generally available free\n"); 00156 printf_filtered ("programs which are used unmodified in performing those activities but\n"); 00157 printf_filtered ("which are not part of the work. For example, Corresponding Source\n"); 00158 printf_filtered ("includes interface definition files associated with source files for\n"); 00159 printf_filtered ("the work, and the source code for shared libraries and dynamically\n"); 00160 printf_filtered ("linked subprograms that the work is specifically designed to require,\n"); 00161 printf_filtered ("such as by intimate data communication or control flow between those\n"); 00162 printf_filtered ("subprograms and other parts of the work.\n"); 00163 printf_filtered ("\n"); 00164 printf_filtered (" The Corresponding Source need not include anything that users\n"); 00165 printf_filtered ("can regenerate automatically from other parts of the Corresponding\n"); 00166 printf_filtered ("Source.\n"); 00167 printf_filtered ("\n"); 00168 printf_filtered (" The Corresponding Source for a work in source code form is that\n"); 00169 printf_filtered ("same work.\n"); 00170 printf_filtered ("\n"); 00171 printf_filtered (" 2. Basic Permissions.\n"); 00172 printf_filtered ("\n"); 00173 printf_filtered (" All rights granted under this License are granted for the term of\n"); 00174 printf_filtered ("copyright on the Program, and are irrevocable provided the stated\n"); 00175 printf_filtered ("conditions are met. This License explicitly affirms your unlimited\n"); 00176 printf_filtered ("permission to run the unmodified Program. The output from running a\n"); 00177 printf_filtered ("covered work is covered by this License only if the output, given its\n"); 00178 printf_filtered ("content, constitutes a covered work. This License acknowledges your\n"); 00179 printf_filtered ("rights of fair use or other equivalent, as provided by copyright law.\n"); 00180 printf_filtered ("\n"); 00181 printf_filtered (" You may make, run and propagate covered works that you do not\n"); 00182 printf_filtered ("convey, without conditions so long as your license otherwise remains\n"); 00183 printf_filtered ("in force. You may convey covered works to others for the sole purpose\n"); 00184 printf_filtered ("of having them make modifications exclusively for you, or provide you\n"); 00185 printf_filtered ("with facilities for running those works, provided that you comply with\n"); 00186 printf_filtered ("the terms of this License in conveying all material for which you do\n"); 00187 printf_filtered ("not control copyright. Those thus making or running the covered works\n"); 00188 printf_filtered ("for you must do so exclusively on your behalf, under your direction\n"); 00189 printf_filtered ("and control, on terms that prohibit them from making any copies of\n"); 00190 printf_filtered ("your copyrighted material outside their relationship with you.\n"); 00191 printf_filtered ("\n"); 00192 printf_filtered (" Conveying under any other circumstances is permitted solely under\n"); 00193 printf_filtered ("the conditions stated below. Sublicensing is not allowed; section 10\n"); 00194 printf_filtered ("makes it unnecessary.\n"); 00195 printf_filtered ("\n"); 00196 printf_filtered (" 3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n"); 00197 printf_filtered ("\n"); 00198 printf_filtered (" No covered work shall be deemed part of an effective technological\n"); 00199 printf_filtered ("measure under any applicable law fulfilling obligations under article\n"); 00200 printf_filtered ("11 of the WIPO copyright treaty adopted on 20 December 1996, or\n"); 00201 printf_filtered ("similar laws prohibiting or restricting circumvention of such\n"); 00202 printf_filtered ("measures.\n"); 00203 printf_filtered ("\n"); 00204 printf_filtered (" When you convey a covered work, you waive any legal power to forbid\n"); 00205 printf_filtered ("circumvention of technological measures to the extent such circumvention\n"); 00206 printf_filtered ("is effected by exercising rights under this License with respect to\n"); 00207 printf_filtered ("the covered work, and you disclaim any intention to limit operation or\n"); 00208 printf_filtered ("modification of the work as a means of enforcing, against the work's\n"); 00209 printf_filtered ("users, your or third parties' legal rights to forbid circumvention of\n"); 00210 printf_filtered ("technological measures.\n"); 00211 printf_filtered ("\n"); 00212 printf_filtered (" 4. Conveying Verbatim Copies.\n"); 00213 printf_filtered ("\n"); 00214 printf_filtered (" You may convey verbatim copies of the Program's source code as you\n"); 00215 printf_filtered ("receive it, in any medium, provided that you conspicuously and\n"); 00216 printf_filtered ("appropriately publish on each copy an appropriate copyright notice;\n"); 00217 printf_filtered ("keep intact all notices stating that this License and any\n"); 00218 printf_filtered ("non-permissive terms added in accord with section 7 apply to the code;\n"); 00219 printf_filtered ("keep intact all notices of the absence of any warranty; and give all\n"); 00220 printf_filtered ("recipients a copy of this License along with the Program.\n"); 00221 printf_filtered ("\n"); 00222 printf_filtered (" You may charge any price or no price for each copy that you convey,\n"); 00223 printf_filtered ("and you may offer support or warranty protection for a fee.\n"); 00224 printf_filtered ("\n"); 00225 printf_filtered (" 5. Conveying Modified Source Versions.\n"); 00226 printf_filtered ("\n"); 00227 printf_filtered (" You may convey a work based on the Program, or the modifications to\n"); 00228 printf_filtered ("produce it from the Program, in the form of source code under the\n"); 00229 printf_filtered ("terms of section 4, provided that you also meet all of these conditions:\n"); 00230 printf_filtered ("\n"); 00231 printf_filtered (" a) The work must carry prominent notices stating that you modified\n"); 00232 printf_filtered (" it, and giving a relevant date.\n"); 00233 printf_filtered ("\n"); 00234 printf_filtered (" b) The work must carry prominent notices stating that it is\n"); 00235 printf_filtered (" released under this License and any conditions added under section\n"); 00236 printf_filtered (" 7. This requirement modifies the requirement in section 4 to\n"); 00237 printf_filtered (" \"keep intact all notices\".\n"); 00238 printf_filtered ("\n"); 00239 printf_filtered (" c) You must license the entire work, as a whole, under this\n"); 00240 printf_filtered (" License to anyone who comes into possession of a copy. This\n"); 00241 printf_filtered (" License will therefore apply, along with any applicable section 7\n"); 00242 printf_filtered (" additional terms, to the whole of the work, and all its parts,\n"); 00243 printf_filtered (" regardless of how they are packaged. This License gives no\n"); 00244 printf_filtered (" permission to license the work in any other way, but it does not\n"); 00245 printf_filtered (" invalidate such permission if you have separately received it.\n"); 00246 printf_filtered ("\n"); 00247 printf_filtered (" d) If the work has interactive user interfaces, each must display\n"); 00248 printf_filtered (" Appropriate Legal Notices; however, if the Program has interactive\n"); 00249 printf_filtered (" interfaces that do not display Appropriate Legal Notices, your\n"); 00250 printf_filtered (" work need not make them do so.\n"); 00251 printf_filtered ("\n"); 00252 printf_filtered (" A compilation of a covered work with other separate and independent\n"); 00253 printf_filtered ("works, which are not by their nature extensions of the covered work,\n"); 00254 printf_filtered ("and which are not combined with it such as to form a larger program,\n"); 00255 printf_filtered ("in or on a volume of a storage or distribution medium, is called an\n"); 00256 printf_filtered ("\"aggregate\" if the compilation and its resulting copyright are not\n"); 00257 printf_filtered ("used to limit the access or legal rights of the compilation's users\n"); 00258 printf_filtered ("beyond what the individual works permit. Inclusion of a covered work\n"); 00259 printf_filtered ("in an aggregate does not cause this License to apply to the other\n"); 00260 printf_filtered ("parts of the aggregate.\n"); 00261 printf_filtered ("\n"); 00262 printf_filtered (" 6. Conveying Non-Source Forms.\n"); 00263 printf_filtered ("\n"); 00264 printf_filtered (" You may convey a covered work in object code form under the terms\n"); 00265 printf_filtered ("of sections 4 and 5, provided that you also convey the\n"); 00266 printf_filtered ("machine-readable Corresponding Source under the terms of this License,\n"); 00267 printf_filtered ("in one of these ways:\n"); 00268 printf_filtered ("\n"); 00269 printf_filtered (" a) Convey the object code in, or embodied in, a physical product\n"); 00270 printf_filtered (" (including a physical distribution medium), accompanied by the\n"); 00271 printf_filtered (" Corresponding Source fixed on a durable physical medium\n"); 00272 printf_filtered (" customarily used for software interchange.\n"); 00273 printf_filtered ("\n"); 00274 printf_filtered (" b) Convey the object code in, or embodied in, a physical product\n"); 00275 printf_filtered (" (including a physical distribution medium), accompanied by a\n"); 00276 printf_filtered (" written offer, valid for at least three years and valid for as\n"); 00277 printf_filtered (" long as you offer spare parts or customer support for that product\n"); 00278 printf_filtered (" model, to give anyone who possesses the object code either (1) a\n"); 00279 printf_filtered (" copy of the Corresponding Source for all the software in the\n"); 00280 printf_filtered (" product that is covered by this License, on a durable physical\n"); 00281 printf_filtered (" medium customarily used for software interchange, for a price no\n"); 00282 printf_filtered (" more than your reasonable cost of physically performing this\n"); 00283 printf_filtered (" conveying of source, or (2) access to copy the\n"); 00284 printf_filtered (" Corresponding Source from a network server at no charge.\n"); 00285 printf_filtered ("\n"); 00286 printf_filtered (" c) Convey individual copies of the object code with a copy of the\n"); 00287 printf_filtered (" written offer to provide the Corresponding Source. This\n"); 00288 printf_filtered (" alternative is allowed only occasionally and noncommercially, and\n"); 00289 printf_filtered (" only if you received the object code with such an offer, in accord\n"); 00290 printf_filtered (" with subsection 6b.\n"); 00291 printf_filtered ("\n"); 00292 printf_filtered (" d) Convey the object code by offering access from a designated\n"); 00293 printf_filtered (" place (gratis or for a charge), and offer equivalent access to the\n"); 00294 printf_filtered (" Corresponding Source in the same way through the same place at no\n"); 00295 printf_filtered (" further charge. You need not require recipients to copy the\n"); 00296 printf_filtered (" Corresponding Source along with the object code. If the place to\n"); 00297 printf_filtered (" copy the object code is a network server, the Corresponding Source\n"); 00298 printf_filtered (" may be on a different server (operated by you or a third party)\n"); 00299 printf_filtered (" that supports equivalent copying facilities, provided you maintain\n"); 00300 printf_filtered (" clear directions next to the object code saying where to find the\n"); 00301 printf_filtered (" Corresponding Source. Regardless of what server hosts the\n"); 00302 printf_filtered (" Corresponding Source, you remain obligated to ensure that it is\n"); 00303 printf_filtered (" available for as long as needed to satisfy these requirements.\n"); 00304 printf_filtered ("\n"); 00305 printf_filtered (" e) Convey the object code using peer-to-peer transmission, provided\n"); 00306 printf_filtered (" you inform other peers where the object code and Corresponding\n"); 00307 printf_filtered (" Source of the work are being offered to the general public at no\n"); 00308 printf_filtered (" charge under subsection 6d.\n"); 00309 printf_filtered ("\n"); 00310 printf_filtered (" A separable portion of the object code, whose source code is excluded\n"); 00311 printf_filtered ("from the Corresponding Source as a System Library, need not be\n"); 00312 printf_filtered ("included in conveying the object code work.\n"); 00313 printf_filtered ("\n"); 00314 printf_filtered (" A \"User Product\" is either (1) a \"consumer product\", which means any\n"); 00315 printf_filtered ("tangible personal property which is normally used for personal, family,\n"); 00316 printf_filtered ("or household purposes, or (2) anything designed or sold for incorporation\n"); 00317 printf_filtered ("into a dwelling. In determining whether a product is a consumer product,\n"); 00318 printf_filtered ("doubtful cases shall be resolved in favor of coverage. For a particular\n"); 00319 printf_filtered ("product received by a particular user, \"normally used\" refers to a\n"); 00320 printf_filtered ("typical or common use of that class of product, regardless of the status\n"); 00321 printf_filtered ("of the particular user or of the way in which the particular user\n"); 00322 printf_filtered ("actually uses, or expects or is expected to use, the product. A product\n"); 00323 printf_filtered ("is a consumer product regardless of whether the product has substantial\n"); 00324 printf_filtered ("commercial, industrial or non-consumer uses, unless such uses represent\n"); 00325 printf_filtered ("the only significant mode of use of the product.\n"); 00326 printf_filtered ("\n"); 00327 printf_filtered (" \"Installation Information\" for a User Product means any methods,\n"); 00328 printf_filtered ("procedures, authorization keys, or other information required to install\n"); 00329 printf_filtered ("and execute modified versions of a covered work in that User Product from\n"); 00330 printf_filtered ("a modified version of its Corresponding Source. The information must\n"); 00331 printf_filtered ("suffice to ensure that the continued functioning of the modified object\n"); 00332 printf_filtered ("code is in no case prevented or interfered with solely because\n"); 00333 printf_filtered ("modification has been made.\n"); 00334 printf_filtered ("\n"); 00335 printf_filtered (" If you convey an object code work under this section in, or with, or\n"); 00336 printf_filtered ("specifically for use in, a User Product, and the conveying occurs as\n"); 00337 printf_filtered ("part of a transaction in which the right of possession and use of the\n"); 00338 printf_filtered ("User Product is transferred to the recipient in perpetuity or for a\n"); 00339 printf_filtered ("fixed term (regardless of how the transaction is characterized), the\n"); 00340 printf_filtered ("Corresponding Source conveyed under this section must be accompanied\n"); 00341 printf_filtered ("by the Installation Information. But this requirement does not apply\n"); 00342 printf_filtered ("if neither you nor any third party retains the ability to install\n"); 00343 printf_filtered ("modified object code on the User Product (for example, the work has\n"); 00344 printf_filtered ("been installed in ROM).\n"); 00345 printf_filtered ("\n"); 00346 printf_filtered (" The requirement to provide Installation Information does not include a\n"); 00347 printf_filtered ("requirement to continue to provide support service, warranty, or updates\n"); 00348 printf_filtered ("for a work that has been modified or installed by the recipient, or for\n"); 00349 printf_filtered ("the User Product in which it has been modified or installed. Access to a\n"); 00350 printf_filtered ("network may be denied when the modification itself materially and\n"); 00351 printf_filtered ("adversely affects the operation of the network or violates the rules and\n"); 00352 printf_filtered ("protocols for communication across the network.\n"); 00353 printf_filtered ("\n"); 00354 printf_filtered (" Corresponding Source conveyed, and Installation Information provided,\n"); 00355 printf_filtered ("in accord with this section must be in a format that is publicly\n"); 00356 printf_filtered ("documented (and with an implementation available to the public in\n"); 00357 printf_filtered ("source code form), and must require no special password or key for\n"); 00358 printf_filtered ("unpacking, reading or copying.\n"); 00359 printf_filtered ("\n"); 00360 printf_filtered (" 7. Additional Terms.\n"); 00361 printf_filtered ("\n"); 00362 printf_filtered (" \"Additional permissions\" are terms that supplement the terms of this\n"); 00363 printf_filtered ("License by making exceptions from one or more of its conditions.\n"); 00364 printf_filtered ("Additional permissions that are applicable to the entire Program shall\n"); 00365 printf_filtered ("be treated as though they were included in this License, to the extent\n"); 00366 printf_filtered ("that they are valid under applicable law. If additional permissions\n"); 00367 printf_filtered ("apply only to part of the Program, that part may be used separately\n"); 00368 printf_filtered ("under those permissions, but the entire Program remains governed by\n"); 00369 printf_filtered ("this License without regard to the additional permissions.\n"); 00370 printf_filtered ("\n"); 00371 printf_filtered (" When you convey a copy of a covered work, you may at your option\n"); 00372 printf_filtered ("remove any additional permissions from that copy, or from any part of\n"); 00373 printf_filtered ("it. (Additional permissions may be written to require their own\n"); 00374 printf_filtered ("removal in certain cases when you modify the work.) You may place\n"); 00375 printf_filtered ("additional permissions on material, added by you to a covered work,\n"); 00376 printf_filtered ("for which you have or can give appropriate copyright permission.\n"); 00377 printf_filtered ("\n"); 00378 printf_filtered (" Notwithstanding any other provision of this License, for material you\n"); 00379 printf_filtered ("add to a covered work, you may (if authorized by the copyright holders of\n"); 00380 printf_filtered ("that material) supplement the terms of this License with terms:\n"); 00381 printf_filtered ("\n"); 00382 printf_filtered (" a) Disclaiming warranty or limiting liability differently from the\n"); 00383 printf_filtered (" terms of sections 15 and 16 of this License; or\n"); 00384 printf_filtered ("\n"); 00385 printf_filtered (" b) Requiring preservation of specified reasonable legal notices or\n"); 00386 printf_filtered (" author attributions in that material or in the Appropriate Legal\n"); 00387 printf_filtered (" Notices displayed by works containing it; or\n"); 00388 printf_filtered ("\n"); 00389 printf_filtered (" c) Prohibiting misrepresentation of the origin of that material, or\n"); 00390 printf_filtered (" requiring that modified versions of such material be marked in\n"); 00391 printf_filtered (" reasonable ways as different from the original version; or\n"); 00392 printf_filtered ("\n"); 00393 printf_filtered (" d) Limiting the use for publicity purposes of names of licensors or\n"); 00394 printf_filtered (" authors of the material; or\n"); 00395 printf_filtered ("\n"); 00396 printf_filtered (" e) Declining to grant rights under trademark law for use of some\n"); 00397 printf_filtered (" trade names, trademarks, or service marks; or\n"); 00398 printf_filtered ("\n"); 00399 printf_filtered (" f) Requiring indemnification of licensors and authors of that\n"); 00400 printf_filtered (" material by anyone who conveys the material (or modified versions of\n"); 00401 printf_filtered (" it) with contractual assumptions of liability to the recipient, for\n"); 00402 printf_filtered (" any liability that these contractual assumptions directly impose on\n"); 00403 printf_filtered (" those licensors and authors.\n"); 00404 printf_filtered ("\n"); 00405 printf_filtered (" All other non-permissive additional terms are considered \"further\n"); 00406 printf_filtered ("restrictions\" within the meaning of section 10. If the Program as you\n"); 00407 printf_filtered ("received it, or any part of it, contains a notice stating that it is\n"); 00408 printf_filtered ("governed by this License along with a term that is a further\n"); 00409 printf_filtered ("restriction, you may remove that term. If a license document contains\n"); 00410 printf_filtered ("a further restriction but permits relicensing or conveying under this\n"); 00411 printf_filtered ("License, you may add to a covered work material governed by the terms\n"); 00412 printf_filtered ("of that license document, provided that the further restriction does\n"); 00413 printf_filtered ("not survive such relicensing or conveying.\n"); 00414 printf_filtered ("\n"); 00415 printf_filtered (" If you add terms to a covered work in accord with this section, you\n"); 00416 printf_filtered ("must place, in the relevant source files, a statement of the\n"); 00417 printf_filtered ("additional terms that apply to those files, or a notice indicating\n"); 00418 printf_filtered ("where to find the applicable terms.\n"); 00419 printf_filtered ("\n"); 00420 printf_filtered (" Additional terms, permissive or non-permissive, may be stated in the\n"); 00421 printf_filtered ("form of a separately written license, or stated as exceptions;\n"); 00422 printf_filtered ("the above requirements apply either way.\n"); 00423 printf_filtered ("\n"); 00424 printf_filtered (" 8. Termination.\n"); 00425 printf_filtered ("\n"); 00426 printf_filtered (" You may not propagate or modify a covered work except as expressly\n"); 00427 printf_filtered ("provided under this License. Any attempt otherwise to propagate or\n"); 00428 printf_filtered ("modify it is void, and will automatically terminate your rights under\n"); 00429 printf_filtered ("this License (including any patent licenses granted under the third\n"); 00430 printf_filtered ("paragraph of section 11).\n"); 00431 printf_filtered ("\n"); 00432 printf_filtered (" However, if you cease all violation of this License, then your\n"); 00433 printf_filtered ("license from a particular copyright holder is reinstated (a)\n"); 00434 printf_filtered ("provisionally, unless and until the copyright holder explicitly and\n"); 00435 printf_filtered ("finally terminates your license, and (b) permanently, if the copyright\n"); 00436 printf_filtered ("holder fails to notify you of the violation by some reasonable means\n"); 00437 printf_filtered ("prior to 60 days after the cessation.\n"); 00438 printf_filtered ("\n"); 00439 printf_filtered (" Moreover, your license from a particular copyright holder is\n"); 00440 printf_filtered ("reinstated permanently if the copyright holder notifies you of the\n"); 00441 printf_filtered ("violation by some reasonable means, this is the first time you have\n"); 00442 printf_filtered ("received notice of violation of this License (for any work) from that\n"); 00443 printf_filtered ("copyright holder, and you cure the violation prior to 30 days after\n"); 00444 printf_filtered ("your receipt of the notice.\n"); 00445 printf_filtered ("\n"); 00446 printf_filtered (" Termination of your rights under this section does not terminate the\n"); 00447 printf_filtered ("licenses of parties who have received copies or rights from you under\n"); 00448 printf_filtered ("this License. If your rights have been terminated and not permanently\n"); 00449 printf_filtered ("reinstated, you do not qualify to receive new licenses for the same\n"); 00450 printf_filtered ("material under section 10.\n"); 00451 printf_filtered ("\n"); 00452 printf_filtered (" 9. Acceptance Not Required for Having Copies.\n"); 00453 printf_filtered ("\n"); 00454 printf_filtered (" You are not required to accept this License in order to receive or\n"); 00455 printf_filtered ("run a copy of the Program. Ancillary propagation of a covered work\n"); 00456 printf_filtered ("occurring solely as a consequence of using peer-to-peer transmission\n"); 00457 printf_filtered ("to receive a copy likewise does not require acceptance. However,\n"); 00458 printf_filtered ("nothing other than this License grants you permission to propagate or\n"); 00459 printf_filtered ("modify any covered work. These actions infringe copyright if you do\n"); 00460 printf_filtered ("not accept this License. Therefore, by modifying or propagating a\n"); 00461 printf_filtered ("covered work, you indicate your acceptance of this License to do so.\n"); 00462 printf_filtered ("\n"); 00463 printf_filtered (" 10. Automatic Licensing of Downstream Recipients.\n"); 00464 printf_filtered ("\n"); 00465 printf_filtered (" Each time you convey a covered work, the recipient automatically\n"); 00466 printf_filtered ("receives a license from the original licensors, to run, modify and\n"); 00467 printf_filtered ("propagate that work, subject to this License. You are not responsible\n"); 00468 printf_filtered ("for enforcing compliance by third parties with this License.\n"); 00469 printf_filtered ("\n"); 00470 printf_filtered (" An \"entity transaction\" is a transaction transferring control of an\n"); 00471 printf_filtered ("organization, or substantially all assets of one, or subdividing an\n"); 00472 printf_filtered ("organization, or merging organizations. If propagation of a covered\n"); 00473 printf_filtered ("work results from an entity transaction, each party to that\n"); 00474 printf_filtered ("transaction who receives a copy of the work also receives whatever\n"); 00475 printf_filtered ("licenses to the work the party's predecessor in interest had or could\n"); 00476 printf_filtered ("give under the previous paragraph, plus a right to possession of the\n"); 00477 printf_filtered ("Corresponding Source of the work from the predecessor in interest, if\n"); 00478 printf_filtered ("the predecessor has it or can get it with reasonable efforts.\n"); 00479 printf_filtered ("\n"); 00480 printf_filtered (" You may not impose any further restrictions on the exercise of the\n"); 00481 printf_filtered ("rights granted or affirmed under this License. For example, you may\n"); 00482 printf_filtered ("not impose a license fee, royalty, or other charge for exercise of\n"); 00483 printf_filtered ("rights granted under this License, and you may not initiate litigation\n"); 00484 printf_filtered ("(including a cross-claim or counterclaim in a lawsuit) alleging that\n"); 00485 printf_filtered ("any patent claim is infringed by making, using, selling, offering for\n"); 00486 printf_filtered ("sale, or importing the Program or any portion of it.\n"); 00487 printf_filtered ("\n"); 00488 printf_filtered (" 11. Patents.\n"); 00489 printf_filtered ("\n"); 00490 printf_filtered (" A \"contributor\" is a copyright holder who authorizes use under this\n"); 00491 printf_filtered ("License of the Program or a work on which the Program is based. The\n"); 00492 printf_filtered ("work thus licensed is called the contributor's \"contributor version\".\n"); 00493 printf_filtered ("\n"); 00494 printf_filtered (" A contributor's \"essential patent claims\" are all patent claims\n"); 00495 printf_filtered ("owned or controlled by the contributor, whether already acquired or\n"); 00496 printf_filtered ("hereafter acquired, that would be infringed by some manner, permitted\n"); 00497 printf_filtered ("by this License, of making, using, or selling its contributor version,\n"); 00498 printf_filtered ("but do not include claims that would be infringed only as a\n"); 00499 printf_filtered ("consequence of further modification of the contributor version. For\n"); 00500 printf_filtered ("purposes of this definition, \"control\" includes the right to grant\n"); 00501 printf_filtered ("patent sublicenses in a manner consistent with the requirements of\n"); 00502 printf_filtered ("this License.\n"); 00503 printf_filtered ("\n"); 00504 printf_filtered (" Each contributor grants you a non-exclusive, worldwide, royalty-free\n"); 00505 printf_filtered ("patent license under the contributor's essential patent claims, to\n"); 00506 printf_filtered ("make, use, sell, offer for sale, import and otherwise run, modify and\n"); 00507 printf_filtered ("propagate the contents of its contributor version.\n"); 00508 printf_filtered ("\n"); 00509 printf_filtered (" In the following three paragraphs, a \"patent license\" is any express\n"); 00510 printf_filtered ("agreement or commitment, however denominated, not to enforce a patent\n"); 00511 printf_filtered ("(such as an express permission to practice a patent or covenant not to\n"); 00512 printf_filtered ("sue for patent infringement). To \"grant\" such a patent license to a\n"); 00513 printf_filtered ("party means to make such an agreement or commitment not to enforce a\n"); 00514 printf_filtered ("patent against the party.\n"); 00515 printf_filtered ("\n"); 00516 printf_filtered (" If you convey a covered work, knowingly relying on a patent license,\n"); 00517 printf_filtered ("and the Corresponding Source of the work is not available for anyone\n"); 00518 printf_filtered ("to copy, free of charge and under the terms of this License, through a\n"); 00519 printf_filtered ("publicly available network server or other readily accessible means,\n"); 00520 printf_filtered ("then you must either (1) cause the Corresponding Source to be so\n"); 00521 printf_filtered ("available, or (2) arrange to deprive yourself of the benefit of the\n"); 00522 printf_filtered ("patent license for this particular work, or (3) arrange, in a manner\n"); 00523 printf_filtered ("consistent with the requirements of this License, to extend the patent\n"); 00524 printf_filtered ("license to downstream recipients. \"Knowingly relying\" means you have\n"); 00525 printf_filtered ("actual knowledge that, but for the patent license, your conveying the\n"); 00526 printf_filtered ("covered work in a country, or your recipient's use of the covered work\n"); 00527 printf_filtered ("in a country, would infringe one or more identifiable patents in that\n"); 00528 printf_filtered ("country that you have reason to believe are valid.\n"); 00529 printf_filtered ("\n"); 00530 printf_filtered (" If, pursuant to or in connection with a single transaction or\n"); 00531 printf_filtered ("arrangement, you convey, or propagate by procuring conveyance of, a\n"); 00532 printf_filtered ("covered work, and grant a patent license to some of the parties\n"); 00533 printf_filtered ("receiving the covered work authorizing them to use, propagate, modify\n"); 00534 printf_filtered ("or convey a specific copy of the covered work, then the patent license\n"); 00535 printf_filtered ("you grant is automatically extended to all recipients of the covered\n"); 00536 printf_filtered ("work and works based on it.\n"); 00537 printf_filtered ("\n"); 00538 printf_filtered (" A patent license is \"discriminatory\" if it does not include within\n"); 00539 printf_filtered ("the scope of its coverage, prohibits the exercise of, or is\n"); 00540 printf_filtered ("conditioned on the non-exercise of one or more of the rights that are\n"); 00541 printf_filtered ("specifically granted under this License. You may not convey a covered\n"); 00542 printf_filtered ("work if you are a party to an arrangement with a third party that is\n"); 00543 printf_filtered ("in the business of distributing software, under which you make payment\n"); 00544 printf_filtered ("to the third party based on the extent of your activity of conveying\n"); 00545 printf_filtered ("the work, and under which the third party grants, to any of the\n"); 00546 printf_filtered ("parties who would receive the covered work from you, a discriminatory\n"); 00547 printf_filtered ("patent license (a) in connection with copies of the covered work\n"); 00548 printf_filtered ("conveyed by you (or copies made from those copies), or (b) primarily\n"); 00549 printf_filtered ("for and in connection with specific products or compilations that\n"); 00550 printf_filtered ("contain the covered work, unless you entered into that arrangement,\n"); 00551 printf_filtered ("or that patent license was granted, prior to 28 March 2007.\n"); 00552 printf_filtered ("\n"); 00553 printf_filtered (" Nothing in this License shall be construed as excluding or limiting\n"); 00554 printf_filtered ("any implied license or other defenses to infringement that may\n"); 00555 printf_filtered ("otherwise be available to you under applicable patent law.\n"); 00556 printf_filtered ("\n"); 00557 printf_filtered (" 12. No Surrender of Others' Freedom.\n"); 00558 printf_filtered ("\n"); 00559 printf_filtered (" If conditions are imposed on you (whether by court order, agreement or\n"); 00560 printf_filtered ("otherwise) that contradict the conditions of this License, they do not\n"); 00561 printf_filtered ("excuse you from the conditions of this License. If you cannot convey a\n"); 00562 printf_filtered ("covered work so as to satisfy simultaneously your obligations under this\n"); 00563 printf_filtered ("License and any other pertinent obligations, then as a consequence you may\n"); 00564 printf_filtered ("not convey it at all. For example, if you agree to terms that obligate you\n"); 00565 printf_filtered ("to collect a royalty for further conveying from those to whom you convey\n"); 00566 printf_filtered ("the Program, the only way you could satisfy both those terms and this\n"); 00567 printf_filtered ("License would be to refrain entirely from conveying the Program.\n"); 00568 printf_filtered ("\n"); 00569 printf_filtered (" 13. Use with the GNU Affero General Public License.\n"); 00570 printf_filtered ("\n"); 00571 printf_filtered (" Notwithstanding any other provision of this License, you have\n"); 00572 printf_filtered ("permission to link or combine any covered work with a work licensed\n"); 00573 printf_filtered ("under version 3 of the GNU Affero General Public License into a single\n"); 00574 printf_filtered ("combined work, and to convey the resulting work. The terms of this\n"); 00575 printf_filtered ("License will continue to apply to the part which is the covered work,\n"); 00576 printf_filtered ("but the special requirements of the GNU Affero General Public License,\n"); 00577 printf_filtered ("section 13, concerning interaction through a network will apply to the\n"); 00578 printf_filtered ("combination as such.\n"); 00579 printf_filtered ("\n"); 00580 printf_filtered (" 14. Revised Versions of this License.\n"); 00581 printf_filtered ("\n"); 00582 printf_filtered (" The Free Software Foundation may publish revised and/or new versions of\n"); 00583 printf_filtered ("the GNU General Public License from time to time. Such new versions will\n"); 00584 printf_filtered ("be similar in spirit to the present version, but may differ in detail to\n"); 00585 printf_filtered ("address new problems or concerns.\n"); 00586 printf_filtered ("\n"); 00587 printf_filtered (" Each version is given a distinguishing version number. If the\n"); 00588 printf_filtered ("Program specifies that a certain numbered version of the GNU General\n"); 00589 printf_filtered ("Public License \"or any later version\" applies to it, you have the\n"); 00590 printf_filtered ("option of following the terms and conditions either of that numbered\n"); 00591 printf_filtered ("version or of any later version published by the Free Software\n"); 00592 printf_filtered ("Foundation. If the Program does not specify a version number of the\n"); 00593 printf_filtered ("GNU General Public License, you may choose any version ever published\n"); 00594 printf_filtered ("by the Free Software Foundation.\n"); 00595 printf_filtered ("\n"); 00596 printf_filtered (" If the Program specifies that a proxy can decide which future\n"); 00597 printf_filtered ("versions of the GNU General Public License can be used, that proxy's\n"); 00598 printf_filtered ("public statement of acceptance of a version permanently authorizes you\n"); 00599 printf_filtered ("to choose that version for the Program.\n"); 00600 printf_filtered ("\n"); 00601 printf_filtered (" Later license versions may give you additional or different\n"); 00602 printf_filtered ("permissions. However, no additional obligations are imposed on any\n"); 00603 printf_filtered ("author or copyright holder as a result of your choosing to follow a\n"); 00604 printf_filtered ("later version.\n"); 00605 printf_filtered ("\n"); 00606 } 00607 00608 static void 00609 show_warranty_command (char *ignore, int from_tty) 00610 { 00611 printf_filtered (" 15. Disclaimer of Warranty.\n"); 00612 printf_filtered ("\n"); 00613 printf_filtered (" THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\n"); 00614 printf_filtered ("APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\n"); 00615 printf_filtered ("HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\n"); 00616 printf_filtered ("OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\n"); 00617 printf_filtered ("THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n"); 00618 printf_filtered ("PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\n"); 00619 printf_filtered ("IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\n"); 00620 printf_filtered ("ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n"); 00621 printf_filtered ("\n"); 00622 printf_filtered (" 16. Limitation of Liability.\n"); 00623 printf_filtered ("\n"); 00624 printf_filtered (" IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\n"); 00625 printf_filtered ("WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\n"); 00626 printf_filtered ("THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\n"); 00627 printf_filtered ("GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\n"); 00628 printf_filtered ("USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\n"); 00629 printf_filtered ("DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\n"); 00630 printf_filtered ("PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\n"); 00631 printf_filtered ("EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\n"); 00632 printf_filtered ("SUCH DAMAGES.\n"); 00633 printf_filtered ("\n"); 00634 printf_filtered (" 17. Interpretation of Sections 15 and 16.\n"); 00635 printf_filtered ("\n"); 00636 printf_filtered (" If the disclaimer of warranty and limitation of liability provided\n"); 00637 printf_filtered ("above cannot be given local legal effect according to their terms,\n"); 00638 printf_filtered ("reviewing courts shall apply local law that most closely approximates\n"); 00639 printf_filtered ("an absolute waiver of all civil liability in connection with the\n"); 00640 printf_filtered ("Program, unless a warranty or assumption of liability accompanies a\n"); 00641 printf_filtered ("copy of the Program in return for a fee.\n"); 00642 printf_filtered ("\n"); 00643 } 00644 00645 void 00646 _initialize_copying (void) 00647 { 00648 add_cmd ("copying", no_set_class, show_copying_command, 00649 _("Conditions for redistributing copies of GDB."), 00650 &showlist); 00651 add_cmd ("warranty", no_set_class, show_warranty_command, 00652 _("Various kinds of warranty you do not have."), 00653 &showlist); 00654 00655 /* For old-timers, allow "info copying", etc. */ 00656 add_info ("copying", show_copying_command, 00657 _("Conditions for redistributing copies of GDB.")); 00658 add_info ("warranty", show_warranty_command, 00659 _("Various kinds of warranty you do not have.")); 00660 }