This file is indexed.

/usr/share/doc/gdb-source/copyright is in gdb-source 7.11-0ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: GDB: The GNU Project Debugger
Upstream-Contact: gdb@sourceware.org
Source: http://www.gnu.org/software/gdb/download/ w/ GFDL'd files stripped
Disclaimer: Autogenerated by CDBS
 Some gross errors corrected, but not yet checked in detail

Files: debian/*
Copyright: 2011-2014, Héctor Orón Martínez
 2013-2014, Samuel Bronson
 2002-2010, Daniel Jacobowitz
License: LGPL-2.1+

Files: *
Copyright: 1984-2014, Free Software Foundation, Inc
License: GPL-3+

Files: include/leb128.h
 include/safe-ctype.h
 include/timeval-utils.h
 include/demangle.h
 intl/bindtextdom.c
 intl/dcgettext.c
 intl/dcigettext.c
 intl/dcngettext.c
 intl/dgettext.c
 intl/dngettext.c
 intl/eval-plural.h
 intl/explodename.c
 intl/finddomain.c
 intl/gettext.c
 intl/gettextP.h
 intl/gmo.h
 intl/hash-string.h
 intl/l10nflist.c
 intl/libgnuintl.h
 intl/loadinfo.h
 intl/loadmsgcat.c
 intl/localcharset.c
 intl/localcharset.h
 intl/localealias.c
 intl/localename.c
 intl/log.c
 intl/ngettext.c
 intl/osdep.c
 intl/plural-exp.c
 intl/plural-exp.h
 intl/plural.c
 intl/relocatable.c
 intl/relocatable.h
 intl/textdomain.c
 libiberty/argv.c
 libiberty/asprintf.c
 libiberty/choose-temp.c
 libiberty/concat.c
 libiberty/fdmatch.c
 libiberty/fopen_unlocked.c
 libiberty/getruntime.c
 libiberty/hex.c
 libiberty/lbasename.c
 libiberty/mempcpy.c
 libiberty/mkstemps.c
 libiberty/pex-common.c
 libiberty/pex-one.c
 libiberty/pexecute.c
 libiberty/putenv.c
 libiberty/setproctitle.c
 libiberty/simple-object-common.h
 libiberty/spaces.c
 libiberty/stpcpy.c
 libiberty/stpncpy.c
 libiberty/strndup.c
 libiberty/timeval-utils.c
 libiberty/vasprintf.c
 libiberty/xexit.c
 libiberty/xmalloc.c
 libiberty/xstrndup.c
 libiberty/cplus-dem.c
 libiberty/hashtab.c
 libiberty/make-temp-file.c
 libiberty/pex-common.h
 libiberty/pex-djgpp.c
 libiberty/pex-msdos.c
 libiberty/pex-unix.c
 libiberty/pex-win32.c
 libiberty/safe-ctype.c
Copyright: 1989-2011 Free Software Foundation, Inc
License: LGPL-2+

Files: bfd/xtensa-modules.c
 etc/texi2pod.pl
 include/elf/xgate.h
 include/fnmatch.h
 include/fopen-bin.h
 include/fopen-same.h
 include/fopen-vms.h
 include/gdbm.h
 include/ieee.h
 include/md5.h
 include/objalloc.h
 include/os9k.h
 include/partition.h
 include/simple-object.h
 include/sort.h
 include/symcat.h
 include/libiberty.h
 include/filenames.h
 include/ansidecl.h
 include/dyn-string.h
 include/fibheap.h
 include/floatformat.h
 include/getopt.h
 include/hashtab.h
 include/obstack.h
 include/splay-tree.h
 include/xtensa-config.h
 intl/intl-compat.c
 libiberty/_doprnt.c
 libiberty/clock.c
 libiberty/cp-demint.c
 libiberty/crc32.c
 libiberty/dwarfnames.c
 libiberty/dyn-string.c
 libiberty/fibheap.c
 libiberty/filename_cmp.c
 libiberty/fnmatch.c
 libiberty/lrealpath.c
 libiberty/md5.c
 libiberty/memmem.c
 libiberty/objalloc.c
 libiberty/obstack.c
 libiberty/partition.c
 libiberty/physmem.c
 libiberty/simple-object-coff.c
 libiberty/simple-object-elf.c
 libiberty/simple-object-mach-o.c
 libiberty/simple-object-xcoff.c
 libiberty/simple-object.c
 libiberty/snprintf.c
 libiberty/sort.c
 libiberty/stack-limit.c
 libiberty/strtod.c
 libiberty/testsuite/test-demangle.c
 libiberty/testsuite/test-expandargv.c
 libiberty/testsuite/test-pexecute.c
 libiberty/unlink-if-ordinary.c
 libiberty/vsnprintf.c
 libiberty/vsprintf.c
 libiberty/cp-demangle.c
 libiberty/cp-demangle.h
 libiberty/floatformat.c
 libiberty/getopt.c
 libiberty/getopt1.c
 libiberty/make-relative-prefix.c
 libiberty/splay-tree.c
 libiberty/sha1.c
 libiberty/setenv.c
 ltmain.sh
Copyright: 1997-2011 Free Software Foundation, Inc
License: GPL-2+

Files: gdb/common/i386-gcc-cpuid.h
 libdecnumber/bid/bid-dpd.h
 libdecnumber/bid/bid2dpd_dpd2bid.c
 libdecnumber/bid/bid2dpd_dpd2bid.h
 libdecnumber/bid/decimal128.c
 libdecnumber/bid/decimal32.c
 libdecnumber/bid/decimal64.c
 libdecnumber/bid/host-ieee128.c
 libdecnumber/bid/host-ieee32.c
 libdecnumber/bid/host-ieee64.c
 libdecnumber/dconfig.h
 libdecnumber/decBasic.c
 libdecnumber/decCommon.c
 libdecnumber/decContext.c
 libdecnumber/decContext.h
 libdecnumber/decDPD.h
 libdecnumber/decDouble.c
 libdecnumber/decDouble.h
 libdecnumber/decExcept.c
 libdecnumber/decExcept.h
 libdecnumber/decLibrary.c
 libdecnumber/decNumber.c
 libdecnumber/decNumber.h
 libdecnumber/decNumberLocal.h
 libdecnumber/decPacked.c
 libdecnumber/decPacked.h
 libdecnumber/decQuad.c
 libdecnumber/decQuad.h
 libdecnumber/decRound.c
 libdecnumber/decRound.h
 libdecnumber/decSingle.c
 libdecnumber/decSingle.h
 libdecnumber/dpd/decimal128.c
 libdecnumber/dpd/decimal128.h
 libdecnumber/dpd/decimal128Local.h
 libdecnumber/dpd/decimal32.c
 libdecnumber/dpd/decimal32.h
 libdecnumber/dpd/decimal64.c
 libdecnumber/dpd/decimal64.h
 include/dwarf2.h
Copyright: 2005-2014, Free Software Foundation, Inc
License: GPL-3+ with GCC-Runtime-3.1 exception

Files: sim/arm/armcopro.c
 sim/arm/armdefs.h
 sim/arm/armemu.c
 sim/arm/armemu.h
 sim/arm/armfpe.h
 sim/arm/arminit.c
 sim/arm/armopts.h
 sim/arm/armos.c
 sim/arm/armos.h
 sim/arm/armrdi.c
 sim/arm/armsupp.c
 sim/arm/armvirt.c
 sim/arm/bag.c
 sim/arm/bag.h
 sim/arm/communicate.c
 sim/arm/communicate.h
 sim/arm/dbg_conf.h
 sim/arm/dbg_cp.h
 sim/arm/dbg_hif.h
 sim/arm/dbg_rdi.h
 sim/arm/gdbhost.c
 sim/arm/gdbhost.h
 sim/arm/kid.c
 sim/arm/main.c
 sim/arm/parent.c
Copyright: 1994, 2000 Advanced RISC Machines Ltd
License: GPL-3+

Files: sim/erc32/erc32.c
 sim/erc32/exec.c
 sim/erc32/func.c
 sim/erc32/interf.c
 sim/erc32/sis.h
Copyright: 1995, Jiri Gaisler
License: GPL-3+

Files: libiberty/bsearch.c
 libiberty/random.c
 libiberty/strtoul.c
Copyright: 1983, 1990, Regents of the University of California
License: BSD-3-clause

Files: readline/examples/rlfe/extern.h
 readline/examples/rlfe/os.h
 readline/examples/rlfe/pty.c
Copyright: 1987, 1993-2002 Oliver Laumann
License: GPL-2+

Files: bfd/hosts/x86-64linux.h
 include/xregex2.h
 libiberty/regex.c
 gdb/common/glibc_thread_db.h
 include/longlong.h
 libiberty/strverscmp.c
Copyright: 1985-2013, Free Software Foundation, Inc
License: LGPL-2.1+

Files: libiberty/strtol.c
Copyright: 1990, The Regents of the University of California
License: BSD-3-clause

Files: readline/examples/readlinebuf.h
Copyright: 2001, Dimitris Vyzovitis [vyzo@media.mit.edu]
License: GPL-2+

Files: readline/examples/rlfe/rlfe.c
Copyright: 2004, 1999 Per Bothner
License: GPL-2+

Files: gdb/gdb_proc_service.h
Copyright: 1999-2014, Free Software Foundation, Inc
License: GPL-3+ and LGPL-2.1+
Comment: XXX shouldn't this just be LGPL'd? Only a few lines seem GPL'd ...
 ... and those lines are just boilerplate anyway!

License: BSD-3-clause
 Copyright (c) The Regents of the University of California.
 All rights reserved.
 .
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions
 are met:
 1. Redistributions of source code must retain the above copyright
 notice, this list of conditions and the following disclaimer.
 2. Redistributions in binary form must reproduce the above copyright
 notice, this list of conditions and the following disclaimer in the
 documentation and/or other materials provided with the distribution.
 3. Neither the name of the University nor the names of its contributors
 may be used to endorse or promote products derived from this software
 without specific prior written permission.
 .
 THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 SUCH DAMAGE.

License: LGPL-2+
 This library is free software; you can redistribute it and/or
 modify it under the terms of the GNU Library General Public
 License as published by the Free Software Foundation; either
 version 2 of the License, or (at your option) any later version.
 .
 This library is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 Library General Public License for more details.
 .
 You should have received a copy of the GNU Library General Public
 License along with this library; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 .
 On Debian systems, the full text of the GNU Library General Public
 License version 2 can be found in the file
 `/usr/share/common-licenses/LGPL-2'.

License: LGPL-2.1+
 This library is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public
 License as published by the Free Software Foundation; either
 version 2.1 of the License, or (at your option) any later version.
 .
 This library is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 Lesser General Public License for more details.
 .
 You should have received a copy of the GNU Lesser General Public
 License along with this library; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 .
 On Debian systems, the full text of the GNU Lesser General Public
 License version 2.1 can be found in the file
 `/usr/share/common-licenses/LGPL-2.1'.

License: GPL-2+
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 .
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 .
 You should have received a copy of the GNU General Public License along
 with this program; if not, write to the Free Software Foundation, Inc.,
 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 .
 On Debian systems, the full text of the GNU General Public
 License version 2 can be found in the file
 `/usr/share/common-licenses/GPL-2'.

License: GPL-3+
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation, either version 3 of the License, or
 (at your option) any later version.
 .
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 .
 You should have received a copy of the GNU General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>.
 .
 On Debian systems, the full text of the GNU General Public
 License version 3 can be found in the file
 `/usr/share/common-licenses/GPL-3'.

License: GPL-3+ with GCC-Runtime-3.1 exception
 This file is part of GCC.
 .
 GCC is free software; you can redistribute it and/or modify it under
 the terms of the GNU General Public License as published by the Free
 Software Foundation; either version 3, or (at your option) any later
 version.
 .
 GCC is distributed in the hope that it will be useful, but WITHOUT
 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
 License for more details.
 .
 Under Section 7 of GPL version 3, you are granted additional
 permissions described in the GCC Runtime Library Exception, version
 3.1, as published by the Free Software Foundation.
 .
 You should have received a copy of the GNU General Public License and
 a copy of the GCC Runtime Library Exception along with this program;
 see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 <http://www.gnu.org/licenses/>.
 .
 On Debian systems, the full text of the GNU General Public
 License version 3 can be found in the file
 `/usr/share/common-licenses/GPL-3'.
 .
 GCC RUNTIME LIBRARY EXCEPTION
 .
 Version 3.1, 31 March 2009
 .
 Copyright (C) 2009 Free Software Foundation, Inc. <http://fsf.org/>
 .
 Everyone is permitted to copy and distribute verbatim copies of this
 license document, but changing it is not allowed.
 .
 This GCC Runtime Library Exception ("Exception") is an additional
 permission under section 7 of the GNU General Public License, version
 3 ("GPLv3"). It applies to a given file (the "Runtime Library") that
 bears a notice placed by the copyright holder of the file stating that
 the file is governed by GPLv3 along with this Exception.
 .
 When you use GCC to compile a program, GCC may combine portions of
 certain GCC header files and runtime libraries with the compiled
 program. The purpose of this Exception is to allow compilation of
 non-GPL (including proprietary) programs to use, in this way, the
 header files and runtime libraries covered by this Exception.
 .
 0. Definitions.
 .
 A file is an "Independent Module" if it either requires the Runtime
 Library for execution after a Compilation Process, or makes use of an
 interface provided by the Runtime Library, but is not otherwise based
 on the Runtime Library.
 .
 "GCC" means a version of the GNU Compiler Collection, with or without
 modifications, governed by version 3 (or a specified later version) of
 the GNU General Public License (GPL) with the option of using any
 subsequent versions published by the FSF.
 .
 "GPL-compatible Software" is software whose conditions of propagation,
 modification and use would permit combination with GCC in accord with
 the license of GCC.
 .
 "Target Code" refers to output from any compiler for a real or virtual
 target processor architecture, in executable form or suitable for
 input to an assembler, loader, linker and/or execution
 phase. Notwithstanding that, Target Code does not include data in any
 format that is used as a compiler intermediate representation, or used
 for producing a compiler intermediate representation.
 .
 The "Compilation Process" transforms code entirely represented in
 non-intermediate languages designed for human-written code, and/or in
 Java Virtual Machine byte code, into Target Code. Thus, for example,
 use of source code generators and preprocessors need not be considered
 part of the Compilation Process, since the Compilation Process can be
 understood as starting with the output of the generators or
 preprocessors.
 .
 A Compilation Process is "Eligible" if it is done using GCC, alone or
 with other GPL-compatible software, or if it is done without using any
 work based on GCC. For example, using non-GPL-compatible Software to
 optimize any GCC intermediate representations would not qualify as an
 Eligible Compilation Process.
 .
 1. Grant of Additional Permission.
 .
 You have permission to propagate a work of Target Code formed by
 combining the Runtime Library with Independent Modules, even if such
 propagation would otherwise violate the terms of GPLv3, provided that
 all Target Code was generated by Eligible Compilation Processes. You
 may then convey such a combination under terms of your choice,
 consistent with the licensing of the Independent Modules.
 .
 2. No Weakening of GCC Copyleft.
 .
 The availability of this Exception does not imply any general
 presumption that third-party software is unaffected by the copyleft
 requirements of the license of GCC.