Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: GDB: The GNU Project Debugger
Upstream-Contact: gdb@sourceware.org
Source: https://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: *
Copyright: 1984-2023, Free Software Foundation, Inc
License: GPL-3+

Files: debian/*
Copyright: 2011-2014, Héctor Orón Martínez
 2013-2014, Samuel Bronson
 2002-2010, Daniel Jacobowitz
 2023, Matthias Klose
 2020-2025, Sergio Durigan Junior <sergiodj@debian.org>
License: LGPL-2.1+

Files: include/leb128.h
 include/safe-ctype.h
 include/timeval-utils.h
 include/demangle.h
 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-2023 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/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
 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-2023 Free Software Foundation, Inc
License: GPL-2+

Files: gdb/nat/x86-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-2023, 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/armos.c
 sim/arm/armos.h
 sim/arm/armsupp.c
 sim/arm/armvirt.c
 sim/arm/dbg_rdi.h
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/readline/examples/rlfe/extern.h
 readline/readline/examples/rlfe/os.h
 readline/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/nat/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/readline/examples/readlinebuf.h
Copyright: 2001, Dimitris Vyzovitis [vyzo@media.mit.edu]
License: GPL-2+

Files: readline/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 <https://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
 <https://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. <https://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.
