[Crosstoolchain-logs] [SCM] GNU GDB Debian packaging repository branch, master, updated. debian/7.5-0+x32-7-gdccc110

Héctor Orón Martín?==?UTF-8?Q?ez zumbi at debian.org
Wed May 22 22:12:34 UTC 2013


The following commit has been merged in the master branch:
commit c33f5d141595bb8f682a2b173a5f07e3233e45ff
Merge: 788db70a618152c9832089aee557df50c47ac5f4 4b59b4e79d5838b754316a3f6dd7750d2e9dc9d4
Author: Samuel Bronson <naesten at gmail.com>
Date:   Wed Feb 20 17:22:51 2013 -0500

    Imported Debian patch 7.5.1-1

diff --combined debian/changelog
index a287931,0000000..34253e9
mode 100644,000000..100644
--- a/debian/changelog
+++ b/debian/changelog
@@@ -1,1321 -1,0 +1,1389 @@@
- gdb (7.5-0+x32) unreleased; urgency=low
++gdb (7.5.1-1) experimental; urgency=low
 +
-   * New upstream release
-     + Includes x32 support
-     + Drop patch m68k-thread-debugging.patch, incorporated upstream.
-     + Drop patch man-page-order.patch, which doesn't apply cleanly and I
-       was too lazy to update this patch.
++  * New upstream release (Closes: #685388).
++  * New upstream features:
++    [7.5]
++    - Go language support.
++    - New targets (x32 ABI, microMIPS, Renesas RL78, HP OpenVMS ia64).
++    - More Python scripting improvements.
++    - SDT (Static Defined Tracing) probes support with SystemTap probes.
++    - GDBserver improvements (stdio connections, target-side evaluation
++      of breakpoint conditions, remote protocol improvements).
++    - Other miscellaneous improvements (ability to stop when a shared
++      library is loaded/unloaded, dynamic printf, etc).
++    - Reverse debugging on ARM.
++    - The binary "gdbtui" has been abandoned and can no longer be built.
++      Use "gdb -tui" instead.
++    - Better handling of symlinked libraries, like ld.so (Closes: #680173).
++    [7.5.1]
++    - Offer some helpful tips when detecting a file/script for which
++      auto-loading has been declined.
++    - Special handling of program's '.exe' suffix when searching for
++      auto-load-able scripts.
++  * Upstream bugfixes:
++    [7.5.1]
++    - strict-aliasing warnings in libiberty/md5.c generated by GCC 4.7.
++    - An "Attempt to dereference a generic pointer" error (-var-create).
++      This error only occurs when the "print object" setting is "on".
++    - Backtrace problems on x32 (PR backtrace/14646).
++    - next/step/finish problems on x32 (PR gdb/14647).
++    - A "malformed linespec error: unexpected keyword, [...]" error
++      (PR breakpoints/14643)
++    - GDB crash while stepping through powerpc (32bits) code.
++    - A failed assertion in linux_ptrace_test_ret_to_nx.
++    - A "!frame_id_inlined_p (frame_id)" failed assertion.
++    - A "No more reverse-execution history." error during reverse "next"
++      execution (PR 14548).
++    - Incomplete command descriptions in "apropos" output.
++    - PR gdb/14494 (a GDB crash difficult to characterize).
++    - A build warning in allocate_symtab when building on x86_64-windows.
++  * Updated patches:
++    - Tweaked man-page-order.patch and linuxthreads_signal_handling.patch
++      so they apply to new upstream source.
++    - Dropped m68k-thread-debugging.patch; upstream already had it.
++    - Dropped debian-changes-7.3.50~cvs20110627-1 and gdbinit-ownership.patch:
++      upstream closed [CVE-2005-1705] with a new option "set auto-load
++      safe-path" (Closes: #694256).
++  * Drop libgdb-dev, since libgdb.a was dropped upstream.
++  * Update architecture list for gdbserver.
++  * Fix documentation symlinking stuff:
++    - Fix manpage symlinks (Closes: #595179).
++    - Add "Depends: gdb (= ${binary:Version})" where needed for symlinked
++      doc directories.
++    - Migrate gdb-source to a real doc-directory, not a symlink, to avoid
++      having an :all package depend on a fixed version of an :any package,
++      which wouldn't survive binNMUs.
++  * Adjust lintian overrides:
++    - Use wildcards for dates of unused readline/support/config.{guess,sub}.
++    - gdb64 is *supposed* to be built for another architecture.
++  * debian/control: Drop redundant "Section:" fields.
++  * Configure gdb-multiarch with --enable-64-bit-bfd so it supports 64-bit
++    targets (Closes: #699582).
++  * Recommend libc-dbg (Closes: #246315, #309460).
++  * Bump Standards-Version in debian/control.in too, so it *stays* bumped.
++  * Add support for debug info compressed with bzip2 and lzma/xz:
++    Build-Depend on libbz2-dev and liblzma-dev.
++  * Add myself to Uploaders.
++  
++ -- Samuel Bronson <naesten at gmail.com>  Wed, 20 Feb 2013 17:22:51 -0500
 +
-  -- Daniel Schepler <schepler at debian.org>  Thu, 24 Jan 2013 07:44:23 -0800
++gdb (7.4.1+dfsg-0.1) unstable; urgency=low
++
++  * Non-maintainer upload.
++  * Fix debian/sanitize-gdb.sh to use bash.
++  * Run that script to get the expected dfsg-compliant tarball.
++    (Closes: #698074)
++
++ -- David Prévot <taffit at debian.org>  Sun, 27 Jan 2013 12:18:15 -0400
 +
 +gdb (7.4.1-3) unstable; urgency=low
 +
 +  * Fix typo: replace mutliarch by multiarch.
 +
 + -- Hector Oron <zumbi at debian.org>  Fri, 05 Oct 2012 08:58:19 +0000
 +
 +gdb (7.4.1-2) unstable; urgency=low
 +
 +  * Fix empty doc directory when upgrading from squeeze to wheezy.
 +    (Closes: #684375)
 +  * d/p/m68k-thread-debugging.patch:
 +    - Add thread debugging function for m68k. Taken from upstream.
 +    Thanks Thorsten Glaser.
 +  * d/control: bump standars version to 3.9.3
 +
 + -- Hector Oron <zumbi at debian.org>  Wed, 19 Sep 2012 21:16:17 +0000
 +
 +gdb (7.4.1-1.1) unstable; urgency=low
 +
 +  * Non-maintainer upload.
 +  * Fix LinuxThreads signal handling on GNU/kFreeBSD.  (Closes: #550361,
 +    #669043)
 +
 + -- Robert Millan <rmh at debian.org>  Sat, 12 May 2012 12:25:16 +0200
 +
 +gdb (7.4.1-1) unstable; urgency=low
 +
 +  * New upstream release:
 +    - [GDB/MI] Error when resuming program execution in all-stop mode
 +      ("Cannot execute this command without a live selected thread").
 +    - [Pascal] Polluted display of class methods parameters.
 +    - [target remote] Errror when connecting to remote target where
 +      disconnected tracing is in effect.
 +    - [AVX] Float and ymm* register values not available.
 +    - [GDB] Crash when using the "finish" command.
 +    - [build] makeinfo should not be required to build GDB.
 +  * d/control: enable gdb-multiarch packages
 +  * d/rules: disable simulator for gdb-multiarch builds.
 +
 + -- Hector Oron <zumbi at debian.org>  Thu, 26 Apr 2012 18:26:18 +0200
 +
 +gdb (7.4really-1) unstable; urgency=low
 +
 +  * New upstream release:
 +    - Many Python scripting improvements
 +    - Better support for ambiguous linespecs
 +    - Masked watchpoints
 +    - Tracepoint support improvements
 +    - Support for Texas Instruments TMS320C6x (tic6x-*-*)
 +    - A Renesas RL78 simulator (rl78-*-elf)
 +    - Some minor Remote protocol extensions and GDB/MI changes
 +  * Temporarily disable gdb-multiarch and gdb-dbg.
 +
 + -- Hector Oron <zumbi at debian.org>  Sat, 28 Jan 2012 00:41:20 +0100
 +
 +gdb (7.4-1~cvs20111117.2) experimental; urgency=low
 +
 +  * Add build dependency on lib64ncurses5-dev for multilib targets. 
 +
 + -- Hector Oron <zumbi at debian.org>  Fri, 18 Nov 2011 19:35:17 +0000
 +
 +gdb (7.4-1~cvs20111117.1) experimental; urgency=low
 +
 +  * Add accidentally dropped armhf to architecture list
 +  * Add GDB debug package (Closes: #592512, #490049)
 +  * Provide GDB multiarch package (Closes: #610519)
 +    - Add gdb-multiarch package supporting extra bfd targets similarly to
 +      binutils-multiarch; the package is constructed much like gdb64 except that
 +      it's build with the gdb configure flags and --enable-targets=all for now.
 +    - Thanks Loïc Minier.
 +  * Fix conflicts between cross and regular gdb (Closes: #603347)
 +    - Pass --gdb-datadir=/usr/share/gdb-$triplet when building a cross-gdb and
 +      update gdb.install sed snippet to match; fixes conflict with gdb;
 +    - Thanks Loïc Minier.
 +
 + -- Hector Oron <zumbi at debian.org>  Thu, 17 Nov 2011 18:37:45 +0000
 +
 +gdb (7.4-1~cvs20111117) experimental; urgency=low
 +
 +  * CVS snapshot release (20111117)
 +  * debian/control.in: Stop using deprecated type-handling Build-Depends
 +    Thanks Guillem Jover. (Closes: #639164)
 +  * debian/control.in: Mention D language support in description
 +    - Also mention other supported languages. (Closes: #595892)
 +  * debian/control.in: Add Vcs-Git, Vcs-Browser and Homepage fields.
 +  * debian/control.in: Bump Standards-Version
 +
 + -- Hector Oron <zumbi at debian.org>  Wed, 24 Aug 2011 20:02:33 +0100
 +
 +gdb (7.3-1) unstable; urgency=low
 +
 +  * New upstream release, including:
 +    - Initial OpenCL C language support has been added
 +    - C++ enhancements:
 +       * Template parameters are now in scope when debugging in an
 +         instantiation
 +       * The motion commands "next", "finish", "until", and "advance" now
 +         work better when exceptions are thrown
 +    - Improved Python support, enhancing the existing APIs as well as
 +      introducing new ones.
 +    - Improved thread debugging support:
 +       * GDB now understands thread names
 +       * A new command "thread find [REGEXP]" has been added
 +    - GDBserver enhancements:
 +       * Support for PowerPC LynxOS (versions 4.x and 5.x) and i686 LynxOS
 +         (version 5.x)
 +       * Support for Blackfin Linux
 +    - Support for reading and writing a new .gdb_index section,
 +      containing a fast index of DWARF debugging info
 +    - Various GDB/MI improvements
 +    - Support for ia64 HP-UX (ia64-*-hpux*) has been added
 +    - Target support for Analog Devices, Inc. Blackfin Processors (bfin-*)
 +    - GNU simulator improvements:
 +       * New --map-info flag
 +       * CFI flash simulation support
 +    - Other worthy improvments (in random order):
 +      * The "catch syscall" command is now available on mips-linux.
 +      * New GDB Commands: "set directories"
 +      * Support for using labels in linespecs (Eg you can use "advance label")
 +      * The "watch" command now accepts an optional "-location" argument
 +      * Thread debugging of core dumps now supported on GNU/Linux
 +      * Ranged breakpoints support (PowerPC BookE running Linux 2.6.34 or later)
 +      * Support for Ada task switching inside programs using the Ravenscar profile
 +    - See gdb/NEWS for more detailed information.  
 +
 + -- Hector Oron <zumbi at debian.org>  Tue, 23 Aug 2011 11:13:36 +0100
 +
 +gdb (7.3.50~cvs20110627-2) experimental; urgency=low
 +
 +  * Restrict prelink build depend to linux-any architectures.
 +  * Fix cross-build target:
 +    - Set DEB_BUILD_GNU_TYPE and use it for --build= instead of
 +    DEB_HOST_GNU_TYPE; Thanks Loïc Minier (Closes: #601028)
 +  * Add preliminary support for armhf.
 +    - Thanks Konstantinos Margaritis (Closes: #596953)
 +
 + -- Hector Oron <zumbi at debian.org>  Tue, 05 Jul 2011 22:37:20 +0100
 +
 +gdb (7.3.50~cvs20110627-1) experimental; urgency=low
 +
 +  * Upstream pre-release based on CVS date 20110627.
 +  * Drop Daniel Jacobowitz as Maintainer.
 +      - Thanks for all this years. 
 +  * Add myself as Maintainer.
 +  * Bump standards version.
 +  * Add local-option for unapply-patches.
 +  * Add prelink build depend, needed for tests run. 
 +
 + -- Hector Oron <zumbi at debian.org>  Tue, 28 Jun 2011 10:30:52 +0100
 +
 +gdb (7.2-1) unstable; urgency=low
 +
 +  * New upstream release, including:
 +    - C++ improvements including argument-dependent lookup, improved
 +      user-defined operator support, and static const member evaluation.
 +    - Expanded Python API.
 +    - Tracepoint improvements, including x86 gdbserver support for tracepoints
 +      and static tracepoints.
 +    - Observer mode support.  You can attach to a program in observer mode
 +      and GDB will not allow you to modify the program's state at all.
 +    - x86 byte and half-word register names, and 32-bit register named
 +      on 64-bit targets.
 +    - The "eval" command for the GDB CLI.
 +    - "save breakpoints" to save breakpoints between sessions.
 +    - Improved hardware breakpoint support for PowerPC.
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Sun, 05 Sep 2010 10:05:31 -0400
 +
 +gdb (7.1-2) unstable; urgency=low
 +
 +  * Add sanitize-gdb.sh and README.source to source package (used to create
 +    tarballs).
 +  * Fix cross-gdb build.  Patch from Hector Oron.  (Closes: #575923).
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Tue, 31 Aug 2010 10:57:57 -0400
 +
 +gdb (7.1-1) unstable; urgency=low
 +
 +  * New upstream release, including:
 +    - PIE support (Closes: #346409).
 +    - C++ improvements, including static_cast<> et al, namespace imports,
 +      and bug fixes in printing virtual base classes.
 +    - Multi-program debugging.  One GDB can now debug multiple programs
 +      at the same time.
 +    - Python scripting improvements, including gdb.parse_and_eval.
 +    - Updated MIPS Linux signal frame layout (Closes: #570875).
 +    - No internal error stepping over _dl_debug_state (Closes: #569551).
 +  * Update to Standards-Version: 3.8.4 (no changes required).
 +  * Include more relevant (and smaller) docs in the gdbserver package
 +    (Closes: #571132).
 +  * Do not duplicate documentation in gdb64, gdb-source, and libgdb-dev.
 +  * Fix crash when switching into TUI mode (Closes: #568489).
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Sat, 20 Mar 2010 01:21:29 -0400
 +
 +gdb (7.0.1-2) unstable; urgency=low
 +
 +  * Add Replaces to the new gdbserver package (Closes: #567925, #568018).
 +  * Add patch to fix FreeBSD build (Closes: #561924).
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Tue, 02 Feb 2010 14:59:41 -0500
 +
 +gdb (7.0.1-1) unstable; urgency=low
 +
 +  * New upstream release.
 +  * Avoid hardcoded "debian" in the binary using lsb_release (from
 +    Matthias Klose).
 +  * Use DEB_MAKE_ENVVARS for 64-bit builds also (from Matthias Klose).
 +  * Build depend on gcj-jdk | gcj (from Matthias Klose).
 +  * Add gdb-source package (Closes: #550755).
 +  * Move gdbserver into its own package (Closes: #562651).
 +  * Add gdb-minimal package (Closes: #560786).
 +  * Update to Standards-Version: 3.8.3.
 +  * Package /usr/share/gdb.
 +  * Switch to 3.0 (quilt) source package format.
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Sat, 30 Jan 2010 15:16:35 -0500
 +
 +gdb (7.0-1) unstable; urgency=low
 +
 +  * New upstream release (Closes: #550567).
 +  * Order options alphabetically in the man page (Closes: #540811).
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Sun, 11 Oct 2009 17:16:26 -0400
 +
 +gdb (6.8.50.20090628-4) unstable; urgency=low
 +
 +  * Mention online documentation in README.Debian (Closes: #537795).
 +  * Fix GNU/Hurd support (Closes: #539351).
 +  * Depend on libreadline-dev and lib64readline6-dev.
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Mon, 14 Sep 2009 16:17:50 -0400
 +
 +gdb (6.8.50.20090628-3) unstable; urgency=low
 +
 +  * Remove stray "set -x" from gdbtui script.
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Mon, 13 Jul 2009 16:49:41 -0400
 +
 +gdb (6.8.50.20090628-2) unstable; urgency=low
 +
 +  * Re-enable gobjc testing on armel (Closes: #497161).
 +  * Do not install an extra copy of the GDB man page in cross-debugger
 +    packages (Closes: #492846).
 +  * Add i386 %ebp backtrace patch from Michael Matz (Closes: #498030).
 +    This improves backtraces on 32-bit programs with missing debug info
 +    for some functions on the stack.
 +  * Replace the separate gdbtui binary with a shell script (suggested
 +    by Matthias Klose).
 +  * Support parallel=<n> in DEB_BUILD_OPTIONS (from Matthias Klose).
 +  * Support nocheck in DEB_BUILD_OPTIONS (from Matthias Klose).
 +  * Run the testsuite on linux-gnueabi and linux-gnulp systems also
 +    (from Matthias Klose).
 +  * Package the DejaGNU .sum file instead of part of the build log.
 +    It's bigger, but more useful (especially with parallel=).
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Mon, 06 Jul 2009 14:52:31 -0400
 +
 +gdb (6.8.50.20090628-1) unstable; urgency=low
 +
 +  * New snapshot from trunk.  The experimental packages used the
 +    archer-tromey-python branch; the whole branch has not been merged
 +    to trunk, but significant portions of it have, and will be in GDB 7.
 +    So this includes some Python scripting support.  Other highlights
 +    since the last experimental package:
 +    - Reverse debugging commands.  With a remote target that supports
 +      reverse debugging, you can step backwards as easily as forwards.
 +    - Process record and replay, a native Linux implementation of
 +      reverse debugging.  Only 32-bit IA32 Linux is currently supported.
 +    - MIPS/Linux hardware watchpoint support.
 +    - Multi-byte and wide character set support, including wchar_t display.
 +    - Inlined function support, including in backtrace and step/next/finish.
 +    - Improved C++ template name parsing.
 +    - Non-stop debugging (some threads remain running while others
 +      are stopped in the debugger).  Only implemented so far for i386,
 +      x86-64, and powerpc.
 +    - A bug fix for discontiguous code, e.g. as found in the Linux kernel
 +      (Closes: #513816).
 +    - A build fix that affected SPARC (Closes: #512121).
 +    - A build fix for casts on hurd-i386 (Closes: #494839).
 +    - A fix for debugging multi-threaded programs that call exec, including
 +      Eclipse with the Sun JVM (Closes: #490046).
 +  * Removed thread-db-multiple-libraries.patch.  This let one GDB work with
 +    both LinuxThreads and NPTL, but no Debian platform has both now.
 +  * GDB now reads /etc/gdb/gdbinit at startup (Closes: #33187).
 +  * Ship required libraries (libbfd, libopcodes, and libiberty) in
 +    /usr/lib/gdb in the libgdb-dev package, in case binutils-dev's versions
 +    are not close enough (Closes: #509873).
 +  * Add dev package dependencies to libgdb-dev.
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Sun, 05 Jul 2009 16:25:07 -0400
 +
 +gdb (6.8.50.20090519.python-1) experimental; urgency=low
 +
 +  * New snapshot from archer-tromey-python branch.
 +  * Update debhelper compatibility level to 7.
 +  * Update to Standards-Version: 3.8.1.
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Thu, 04 Jun 2009 09:38:13 -0400
 +
 +gdb (6.8.50.20090116.python-1) experimental; urgency=low
 +
 +  * New snapshot from archer-tromey-python branch.
 +  * Make sure that Python is enabled for the main gdb package.
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Fri, 12 Dec 2008 11:30:41 -0500
 +
 +gdb (6.8.50.20081210.python-1) experimental; urgency=low
 +
 +  * New snapshot from archer-tromey-python branch.
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Wed, 10 Dec 2008 21:36:26 -0500
 +
 +gdb (6.8.50.20081120.python-1) experimental; urgency=low
 +
 +  * Package archer-tromey-python branch for experimental.  Highlights since
 +    GDB 6.8 (for more, see the NEWS file):
 +    - Python scripting support.  This is experimental; the interfaces
 +      are subject to change.  Some example scripts are packaged, including
 +      STL pretty-printers for libstdc++.
 +    - Improved preprocessor macro support.
 +    - Non-stop debugging support (for 32-bit i386 only).  You can stop just
 +      one thread of interest while the others continue to run.
 +    - Improved tab completion, including C structure fields.
 +    - Faster remote debugging.
 +    - Compressed debug information support; the new "gold" linker can generate
 +      compressed debug sections.
 +    - New "find" command to search memory.
 +    - Native i386 debugger does not get confused about watchpoints when
 +      using "target remote" (Closes: #513678).
 +  * Build depend on zlib1g-dev and python-dev.
 +  * Removed bfd-get-mtime-less.patch, gdb-rbreak-quoting.patch,
 +  ia64-array-bound.patch, cp-support-uninit.patch,
 +  and m68k-nat-build-fix.patch, merged upstream.
 +  * Build depend on procps for testsuite cleanup calls to "kill".
 +  * Remove use of -p0 in series file (Closes: #484945).
 +	
 + -- Daniel Jacobowitz <dan at debian.org>  Fri, 28 Nov 2008 14:28:47 -0500
 +
 +gdb (6.8-3) unstable; urgency=low
 +
 +  * Initialize some uninitialized variables (Closes: #479561).
 +  * Drop gdb-arm and insight conflict/replace.
 +  * Fix build on m68k.
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Wed, 07 May 2008 08:40:02 -0400
 +
 +gdb (6.8-2) unstable; urgency=low
 +
 +  * Make removal of stamp files the first action of the clean target
 +    (from Justin Pryzby).
 +  * Correct array access in ia64 port to fix build failure.
 +  * Fix GDB_TARGET support (reported by Fathi BOUDRA).
 +  * Update gcj build dependencies (Closes: #477863, #479111).
 +  * Add a man page for gcore, from Nicolas Bonifas (Closes: #479066).
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Fri, 02 May 2008 18:28:37 -0400
 +
 +gdb (6.8-1) unstable; urgency=low
 +
 +  * New upstream release.
 +    - Remove patches merged upstream.
 +    - GDB automatically sets breakpoints in every copy of C++ templates
 +      and cloned constructors (Closes: #421540).
 +    - Improved support for debugging optimized code - local variables are
 +      displayed more often.
 +    - Automatically recognizes ObjC sources (Closes: #462882).
 +  * Backported patch to fix quoting for rbreak (Closes: #357319).
 +  * Adjust copyright file, quilt build dependency, and oldest changelog entry
 +    on lintian's advice.
 +  * Add libsim.a to libgdb-dev (Closes: #473295).
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Thu, 27 Mar 2008 18:13:39 -0400
 +
 +gdb (6.7.1-2) unstable; urgency=low
 +
 +  * Add patch from Ulrich Weigand to fix stepping over shared library
 +  functions on PowerPC (Closes: #432461).
 +  * Add libgdb-dev package for fp-ide (Closes: #458250).
 +  * Avoid gcc-4.3 uninitialized warnings (Closes: #455669).
 +  * Updated Standards-Version to 3.7.3
 +    - Correct Apps -> Applications in gdb.menu.
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Wed, 02 Jan 2008 08:49:43 -0500
 +
 +gdb (6.7.1-1) unstable; urgency=low
 +
 +  * New upstream release.
 +    - Correct makeinfo version check (Closes: #453202).
 +  * Merge Ubuntu support for a gdb64 package (Closes: #254270).
 +  * Run the testsuite on all GNU/Linux platforms.
 +  * Remove old support for skipping thread tests.
 +  * Add an expat build dependency and add --with-expat.
 +  * Update copyright notice.
 +  * Do not freeze on division by zero (Closes: #414887).
 +  * Rewrite HPPA kernel offsets patch to support HPPA64.
 +  * Include Vladimir Prus's varobj fix for kdevelop (Closes: #443080).
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Mon, 03 Dec 2007 10:12:27 -0500
 +
 +gdb (6.6.dfsg.90.20070912-1) unstable; urgency=low
 +
 +  * New upstream snapshot (pre-release for GDB 6.7).
 +    - Patches 10.selected-frame.patch, dwarf2-long-size.patch merged upstream.
 +    - Backports unwind-check-pc-regnum.patch, ia64-unwind-signedness.patch
 +      removed.
 +    - Patch 13.use-dynamic-readline.patch replaced by
 +      --with-system-readline.
 +    - Patch sim-destdir.patch unnecessary.
 +  * Disable gcj and gobjc build dependencies for armel (Closes: #441741).
 +  * Replace tetex-bin build dependency with texlive-base.
 +  * Include kernel offsets for HPPA.
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Sat, 15 Sep 2007 13:40:34 -0400
 +
 +gdb (6.6.dfsg-3) unstable; urgency=low
 +
 +  * Correct signedness error in ia64-tdep.c (Closes: #423631) (again).
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Fri, 24 Aug 2007 15:48:11 -0400
 +
 +gdb (6.6.dfsg-2) unstable; urgency=low
 +
 +  * Check PC_REGNUM before using it (Closes: #423631).
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Thu, 23 Aug 2007 22:26:20 -0400
 +
 +gdb (6.6.dfsg-1) unstable; urgency=low
 +
 +  [ Matthias Klose ]
 +  * New upstream version.
 +    - Prints a newline after EOF (Closes: #233467).
 +  * sim-destdir.patch, gdbinit-ownership.patch, bfd-get-mtime-less.patch,
 +    pie-support.patch, thread-db-multiple-libraries.patch: Update.
 +  * thread-db-live-threads.patch, fork-context-switch.patch: Remove,
 +    applied upstream.
 +
 +  [ Daniel Jacobowitz ]
 +  * Merge changes from Matthias Klose (thanks).
 +  * Refresh all patches.
 +  * Fix "corrupted DWARF expression" error (Closes: #405116).
 +  * Do not crash if loading libthread_db failed (Closes: #408402).
 +  * Initial support for building cross-GDB packages, based on the work of
 +    Raphael Bossek and Kazuhiro Inaoka (Closes: #313340, #343419, #373927).
 +  * Change priority to optional (since ftpmaster did).
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Sat, 27 Jan 2007 21:59:06 -0500
 +
 +gdb (6.5.dfsg-2) unstable; urgency=low
 +
 +  * Backport a patch to fix GDB segfaults on threaded programs.
 +  * Backport a patch to fix errors on fork/vfork in threaded programs.
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Thu, 16 Nov 2006 11:06:50 -0500
 +
 +gdb (6.5.dfsg-1) unstable; urgency=low
 +
 +  * New upstream release (Closes: #386586).
 +  * Update Standards-Version to 3.7.2 (no changes required).
 +  * Mention --args in the man page (Closes: #394150).
 +  * Mention gdbtui and -tui (Closes: #362795).
 +  * Correctly detect changed executables when rerunning.
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Sun,  5 Nov 2006 18:33:48 -0500
 +
 +gdb (6.4.90.dfsg-1) unstable; urgency=low
 +
 +  * New upstream snapshot (GDB 6.5 prerelease).
 +    - BFD build fix for GCC 4.2 (Closes: #364124).
 +    - xstrvprintf error message corrected (Closes: #296483).
 +    - Rewritten printf command (Closes: #186037, #231162).
 +    - Build fix for hurd-i386 (Closes: #345108).
 +  * Split the GDB package into DFSG and non-DFSG portions (Closes: #212522).
 +    The documentation has been moved to the new gdb-doc package, which
 +    this one Suggests.
 +    - Remove packaging for info files.
 +    - Remove GFDL section from debian/copyright.
 +    - Update README.Debian.
 +  * Correct control.in to also use libreadline5-dev.
 +  * Update type-handling usage.
 +  * Update copyright file with the new FSF address.
 +  * Update gcj build dependency (allow mips and mipsel, skip kfreebsd)
 +    (Closes: #343199).
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Tue,  6 Jun 2006 09:23:45 -0400
 +
 +gdb (6.4-1) unstable; urgency=low
 +
 +  * New upstream release.
 +  * Reset core ulimit before running the testsuite (Closes: #342343).
 +  * Ignore cancellation signal for NPTL by default (Closes: #324683).
 +  * Include a description of the front cover texts, et cetera for the
 +    manual in the copyright file (Closes: #321803).
 +  * Set the default name of main to MAIN__ for Fortran programs
 +    (Closes: #319520).
 +  * Handle PowerPC PIC prologues a little better (Closes: #312059).
 +  * Cope with attaching to threaded programs after the exit of a threaded
 +    program (Closes: #303736).
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Sun, 11 Dec 2005 13:14:04 -0500
 +
 +gdb (6.3.90.20051119-1) unstable; urgency=low
 +
 +  * New upstream snapshot (6.4 branch prerelease).
 +    - Many Debian patches merged.
 +    - Selected frame and C++ pass-by-reference patches updated.
 +    - Fixes segfault when executing malformed TUI window commands
 +      (Closes: #317317).
 +    - Behaves more gracefully when the executable disappears, et cetera
 +      (Closes: #293637, #323217, #332184).
 +    - Handle vfork from threaded programs using NPTL (Closes: #320391).
 +  * Do not rebuild bfd.info.
 +  * Build depend on a version of debhelper which will put menu fils
 +    in /usr/share.
 +  * Don't build depend on gcj on the Hurd (Closes: #298088).
 +  * Prevent unnecessary SIGTTOU when resolving pending breakpoints
 +    (Closes: #306267).
 +  * Enable the testsuite on amd64.
 +  * Use libreadline5 instead of libreadline4 (Closes: #309538, #326358).
 +  * Install gdb_gcore.sh as gcore (Closes: #328580).
 +  * Add GPC support (Closes: #261330).
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Sun, 20 Nov 2005 13:40:44 -0500
 +
 +gdb (6.3-6) unstable; urgency=high
 +
 +  * Do not crash on certain malformed input files [CAN-2005-1704]
 +    (Closes: #308624, #310972).
 +  * Do not load untrusted .gdbinit files [CAN-2005-1705] (Closes: #310728).
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Sun, 29 May 2005 18:55:44 -0400
 +
 +gdb (6.3-5) unstable; urgency=low
 +
 +  * Fix NPTL debugging using gdbserver.
 +  * Disable the "Incomplete CFI data" warning.
 +  * Really include the menu file this time (Closes: #80010).
 +  * Include a patch to handle strange binaries produced by Kylix
 +    (Closes: #249008).
 +  * Fix printing of fork status messages, and disable them by default
 +    (Closes: #254039).
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Wed,  8 Dec 2004 18:35:02 -0500
 +
 +gdb (6.3-4) unstable; urgency=low
 +
 +  * Backport a patch for a warning about the vsyscall DSO.
 +  * Backport a spelling fix for PTRACE_EVENT_VFORK_DONE to fix S/390
 +    build failure.
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Mon, 15 Nov 2004 11:52:13 -0500
 +
 +gdb (6.3-3) unstable; urgency=low
 +
 +  * Add flex to build dependencies for ada-lex.l.
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Sun, 14 Nov 2004 00:28:18 -0500
 +
 +gdb (6.3-2) unstable; urgency=low
 +
 +  * Backport a patch for a C++ / stabs debug info crash (Closes: #251322).
 +  * Correct build dependency for gcj (missed a !).
 +  * Correct build dependency for libunwind (it's libunwind7-dev now).
 +  * Update fix for fork tracing.  This removes a warning on 2.4 kernels,
 +    and fixes UML debugging (Closes: #271069).
 +  * Fix single-stepping through a call to NULL on SPARC (Closes: #256012).
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Sat, 13 Nov 2004 16:50:55 -0500
 +
 +gdb (6.3-1) unstable; urgency=low
 +
 +  * New upstream release (Closes: #259219).
 +    - Give an error for division by 0 (Closes: #280051).
 +    - Includes support for -feliminate-dwarf2-dups.
 +    - Limited support for Ada is included; more to come
 +      (Closes: #39516, #46470, #57876, #85947).
 +  * Update build dependency on texinfo; 4.7-1 could not build GDB.
 +  * Build depend on gcj on all architectures other than mips and mipsel
 +    (Closes: #272327).
 +  * Build depend on libkvm-dev for kfreebsd-gnu (Closes: #264103).
 +  * Add libunwind support on ia64 (Closes: #279596).
 +  * Make the fork tracing checks more robust.  Prevents stray processes
 +    on 2.6.10-rc1.
 +  * Add a Debian menu entry for GDB (Closes: #80010).
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Fri, 12 Nov 2004 18:45:46 -0500
 +
 +gdb (6.1-3) unstable; urgency=low
 +
 +  * Fix passing and returning of non-trivial C++ objects (Closes: #160459).
 +  * Update hppa patches (Closes: #247948).
 +  * Add a patch for finding C++ member variables in base classes
 +    (Closes: #239535).
 +  * Replace versions of insight which contain gdbtui.  Partial fix for
 +    #242498.
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Thu, 27 May 2004 11:30:23 -0400
 +
 +gdb (6.1-2) unstable; urgency=low
 +
 +  * Add an NPTL thread-exit patch.  Short-lived threads could cause GDB
 +    to leave unattached threads, which would crash as soon as they hit
 +    a breakpoint.
 +  * Testsuite patches - no unexpected FAILs on i386-linux.
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Mon, 19 Apr 2004 11:43:07 -0400
 +
 +gdb (6.1-1) unstable; urgency=low
 +
 +  * New upstream version.
 +  * Re-add the -debian suffix to GDB's version number.  This got lost in the
 +    transition to CDBS.
 +  * Revised HPPA port.  Thanks to Randolph Chung, as usual.
 +  * Run the testsuite on SPARC again.  The SPARC port is much improved
 +    (it has been basically rewritten from scratch).
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Tue,  6 Apr 2004 00:13:00 -0400
 +
 +gdb (6.0-6) unstable; urgency=low
 +
 +  * Also add DESTDIR to the ranlib invocation.
 +  * Fix typo in moving run.1 manpage.
 +  * Link linux-nat.o on HPPA.
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Tue,  3 Feb 2004 11:07:27 -0500
 +
 +gdb (6.0-5) unstable; urgency=low
 +
 +  * Add DESTDIR support to sim/, to fix build failures on targets with a
 +    simulator.
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Mon,  2 Feb 2004 15:32:23 -0500
 +
 +gdb (6.0-4) unstable; urgency=low
 +
 +  * Switch to CDBS and quilt.
 +  * Suppress warning about "<in-memory>" on re-run with a vsyscall DSO.
 +  * Import gdb 6.0 CVS branch; fixes a segfault with development GCC
 +    and frequent segfaults when rereading changed binaries
 +    (Closes: #230550).
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Mon,  2 Feb 2004 10:03:19 -0500
 +
 +gdb (6.0-3) unstable; urgency=low
 +
 +  * Include <asm/offsets.h> instead of <asm/offset.h> on HPPA
 +    (Closes: #208928).
 +  * Support backtraces through the vsyscall DSO on i386.
 +  * Do not run testsuite on hurd-i386 (Closes: #221956).
 +  * Fix up texinfo files so that dh_installinfo puts them in the right
 +    section.
 +  * Update build dependency on texinfo (Closes: #219337).
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Sun, 25 Jan 2004 18:04:24 -0500
 +
 +gdb (6.0-2) unstable; urgency=low
 +
 +  * Add build dependency on mig for hurd-i386 (Closes: #216428).
 +  * Don't paginate symbol file progress messages.  In combination
 +    with recent changes to dwarf2-frame.c this fixes some potential
 +    internal errors (Closes: #199889).
 +    - 28.symfile-unfiltered.patch
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Mon, 27 Oct 2003 23:32:39 -0500
 +
 +gdb (6.0-1) unstable; urgency=low
 +
 +  * New upstream release
 +    - 11.read-var-value.patch merged upstream.
 +    - 12.dwarf-loc-register.patch merged upstream.
 +    - -data-list-changed-registers no longer segfaults (Closes: #204561).
 +  * Include the text of the GFDL in the copyright file (Closes: #212890).
 +  * Include a threading patch which may fix #212949.
 +    - 26.lin-lwp-assert.patch
 +  * Include a patch which should improve Control-C handling for LinuxThreads
 +    on 2.6 kernels.
 +    - 27.lin-lwp-2.6.patch
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Sat,  4 Oct 2003 17:47:35 -0400
 +
 +gdb (5.3.20030824-1) unstable; urgency=low
 +
 +  * New upstream CVS snapshot, from the GDB 6.0 branch.
 +    - 27.tui-paginate-backtrace.patch merged upstream.
 +    - 28.minsym-section.patch merged upstream.
 +    - Watchpoint handling bug for ia64 fixed (Closes: #205241).
 +  * Squash some warnings for HPPA.
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Sun, 24 Aug 2003 14:26:52 -0400
 +
 +gdb (5.3.20030801-1) unstable; urgency=low
 +
 +  * New upstream CVS snapshot, from the GDB 6.0 branch.
 +    - 26.fix-sparc-build-two.patch merged upstream.
 +    - Includes a fix for backtracing from noreturn functions like abort ().
 +    - Insert a space between the address and code when disassembling,
 +      even if we don't have a function name (Closes: #199672).
 +  * Update HPPA patch again; is anyone ever going to submit this
 +    upstream?  Better do it soon. (Closes: #200980).
 +  * Make filtered output paginate correctly again.
 +    - 27.tui-paginate-backtrace.patch
 +  * Fix an internal error on -data-list-changed-registers, and possibly
 +    many others (Closes: #203553).
 +    - 10.selected-frame.patch
 +  * Add two patches for watchpoints in optimized programs (Closes: #203000).
 +    - 11.read-var-value.patch
 +    - 12.dwarf-loc-register.patch
 +  * Add a patch for several shared library single-stepping bugs.
 +    - 28.minsym-section.patch
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Sun,  3 Aug 2003 23:09:56 -0400
 +
 +gdb (5.3.20030629-2) unstable; urgency=low
 +
 +  * Yet another sparc build fix.
 +    - 26.fix-sparc-build-two.patch
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Sun, 29 Jun 2003 17:11:12 -0400
 +
 +gdb (5.3.20030629-1) unstable; urgency=low
 +
 +  * New upstream CVS snapshot, from the GDB 6.0 branch.
 +    - Remote debugging isn't totally broken any more.
 +  * Remove merge or obsoleted patches.
 +    - Parts of 23.static-thread-apps.patch
 +    - 26.fix-tui-build.patch
 +    - 27.fix-sparc-build-two.patch
 +    - 28.dwarf2-reread-segv.patch
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Sat, 28 Jun 2003 21:17:13 -0400
 +
 +gdb (5.3.20030606-3) unstable; urgency=low
 +
 +  * Fix build failure on HPPA.
 +  * Fix a segfault when reread applications (Closes: #197226).
 +    - 28.dwarf2-reread-segv.patch
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Sun, 22 Jun 2003 14:30:49 -0400
 +
 +gdb (5.3.20030606-2) unstable; urgency=low
 +
 +  * Add 27.fix-sparc-build-two.patch to fix build failure on sparc.
 +  * Disable the testsuite on sparc, since it's completely broken.
 +  * Conditionalize gcj build dependency for architectures which both
 +    have gcj and run the testsuite.
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Sat, 14 Jun 2003 12:30:33 -0400
 +
 +gdb (5.3.20030606-1) unstable; urgency=low
 +
 +  * New upstream snapshot, with lots of nice features.
 +    - Improved prologue analyzer and DWARF-2 frame unwind support for i386.
 +    - Overhauled Alpha support.
 +    - More C++ namespace support (still not complete).
 +    - DW_AT_ranges support - if you've noticed local variables in your code
 +      being missing in GDB, this is the most likely cause.
 +    - Integrated Objective C support, finally! It's got some rough edges
 +      but it works (Closes: #62081, #24598, #57824, #86506).
 +    - "set cp-abi" command for debugging combined v2 and v3 C++ code.
 +    - Some bug fixes in the parsing for gdb --args (Closes: #33361, #193413).
 +    - Support for debug info in separate files, coming soon to a Debian
 +      near you.
 +  * Removed integrated or obsoleted patches:
 +    - 01.const-tilde_expand.patch
 +    - 05.i386-backtrace-to-main.patch
 +    - 08.max-ui-out.patch
 +    - 12.tui-readline.patch
 +    - 15.m68k-build.patch
 +    - 16.use-rl-prefixed-function.patch
 +    - 19.alpha-doublest-correction.patch
 +    - 21.lin-lwp-schedlock.patch
 +  * Disabled some patches which I hope are no longer needed:
 +    - 06.java-testsuite-jmisc.patch
 +    - 11.thread-confused-exit.patch
 +    - 20.alpha-testsuite.patch
 +    - 22.alpha-proc-desc-stack.patch
 +  * Updated HPPA patches for this snapshot.
 +    - 02.gdb-hppa.patch
 +    - 03.hppa-core.patch
 +    - 04.hppa-func-returns.patch
 +  * Add some build fixes for TUI.
 +    - 26.fix-tui-build.patch
 +  * Build with an absolute path to configure, to work around three failing
 +    MI tests.
 +  * Don't bother running the testsuite for two debug formats any more.
 +  * Add build-dependencies for gcj and gobjc, for the testsuite.
 +  * Adjust configure --mandir argument to match more stupid quoting.
 +  * Re-enable thread testsuite on Alpha.
 +  * Enable the testsuite on ia64, hppa, and s390.
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Sun,  8 Jun 2003 20:15:55 -0400
 +
 +gdb (5.3-2) unstable; urgency=low
 +
 +  * Fix build on SPARC.
 +  * Fix buid on HPPA.
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Sat,  4 Jan 2003 01:02:36 -0500
 +
 +gdb (5.3-1) unstable; urgency=low
 +
 +  * New upstream release.
 +  * Patches updated for new release.
 +    - Patch 14.gdb-maint-its-typo.patch included.
 +    - Patch 17.tui-fixes.patch included.
 +    - Patch 18.threads-much-faster.patch included.
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Mon, 16 Dec 2002 14:43:03 -0500
 +
 +gdb (5.2.debian90.cvs20021120-4) unstable; urgency=low
 +
 +  * Fix thread debugging for statically linked applications
 +    (Closes: #170107).
 +  * Prevent a segfault when entering tracepoint actions if you hit EOF
 +    (Closes: #167997).
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Tue,  3 Dec 2002 14:46:07 -0500
 +
 +gdb (5.2.debian90.cvs20021120-3) unstable; urgency=low
 +
 +  * Add another Alpha patch for setting breakpoints after the process exits.
 +  * Disable running the thread tests on Alpha (ew).  It hangs the build
 +    daemon; the problem appears to be in glibc.  It returns nonexistant
 +    and duplicate threads.
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Sun, 24 Nov 2002 23:16:36 -0500
 +
 +gdb (5.2.debian90.cvs20021120-2) unstable; urgency=low
 +
 +  * Add patch for testsuite false failures on Alpha.
 +  * Add patch for floating point support on Alpha.
 +  * Add a patch from the CVS HEAD for schedule-lock mode and for software
 +    single step platforms.
 +  * Correct the testsuite to match "help maint dump-me".
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Sun, 24 Nov 2002 18:11:26 -0500
 +
 +gdb (5.2.debian90.cvs20021120-1) unstable; urgency=low
 +
 +  * New upstream CVS snapshot from 5.3 CVS branch.
 +    - Builds with new bison (Closes: #169656).
 +    - Fixes crashes without SSE support or when loading core files without
 +      applications.
 +    - TUI no longer crashes if there is no debugging information for main
 +      (Closes: #141491).
 +    - GDB no longer crashes on "info win" if there are no windows
 +      (Closes: #158186).
 +    - Setting some C++ breakpoints works the first time instead of having
 +      to do it twice (Closes: #110684).
 +  * Patches updated for new release.
 +    - Patch 07.manual-vector.dpatch included in CVS.
 +    - Patch 09.mips-linux-buildfixes-aug02.patch included in CVS.
 +    - Patch 10.no-readline-docs.patch removed - we still use readline,
 +      I believe that leaving it as an appendix to the GDB manual is
 +      appropriate.
 +    - Patch 12.tui-readline.patch updated.
 +    - Patch 17.tui-fixes.patch added to fix a TUI problem with -i=mi.
 +  * Remove useless --enable-shared.
 +  * Fix a typo in "help maint dump-me" (Closes: #168495).
 +  * Add a patch to fix build on m68k, from Michael Fedrowitz
 +    <michaelf at debian.org> (Closes: #163543).
 +  * Added a patch to call rl_filename_completion_function instead of
 +    filename_completion_function, from Matt Chapman
 +    <matthewc at cse.unsw.edu.au> (Closes: #165366).
 +  * Tag GDB version with "-debian" because we apply patches.
 +  * Add a patch which makes debugging threaded applications drastically
 +    (5x - 10x) faster.  Whee!
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Fri, 22 Nov 2002 17:30:26 -0500
 +
 +gdb (5.2.cvs20020818-3) unstable; urgency=low
 +
 +  * HPPA fix from Randolph Chung (Closes: #158055).
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Sun, 25 Aug 2002 00:37:34 -0400
 +
 +gdb (5.2.cvs20020818-2) unstable; urgency=low
 +
 +  * MIPS and MIPSel build fixes.
 +  * Apply and remove patches in numbered order.
 +  * HPPA build fixes.
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Mon, 19 Aug 2002 10:49:40 -0400
 +
 +gdb (5.2.cvs20020818-1) unstable; urgency=low
 +
 +  * New upstream CVS snapshot.
 +    - Don't include <termio.h> in TUI (Closes: #145040).
 +    - Don't use libthread_db with core files (Closes: #133778).
 +  * Recompile against current readline package (Closes: #153972).
 +  * Reduce some thread-db errors to warnings
 +    (Closes: #123675, #126614, #134693).
 +  * Bump MAX_UI_OUT_LEVELS for the Hurd (Closes: #145630).
 +  * Include patch from Richard Hirst to improve function return printing
 +    on HPPA.  It looks like there's finally a little progress on getting
 +    the HPPA code in upstream... (Closes: #148672).
 +  * Mention Peter Jay Salzman's GDB tutorial in the documentation
 +    (Closes: #151128).
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Sun, 18 Aug 2002 23:09:46 -0400
 +
 +gdb (5.2.cvs20020401-6) unstable; urgency=medium
 +
 +  * More HPPA build fixes - I forgot linux-proc.o again
 +    (Closes: #143707).
 +  * Add support for HPPA core files, patch from Randolph Chung
 +    (Closes: #137316).
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Sun, 21 Apr 2002 10:29:40 -0400
 +
 +gdb (5.2.cvs20020401-5) unstable; urgency=low
 +
 +  * More HPPA build fixes.
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Fri, 19 Apr 2002 12:43:56 -0400
 +
 +gdb (5.2.cvs20020401-4) unstable; urgency=medium
 +
 +  * Add linux-proc.o to NATDEPFILES for S/390; should fix S/390 build.
 +  * Change `value_ptr' to `struct value *' in HPPA patch.  Should fix
 +    HPPA build in combination with libc6 2.2.5-4.0.2.
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Wed, 17 Apr 2002 00:43:32 -0400
 +
 +gdb (5.2.cvs20020401-3) unstable; urgency=low
 +
 +  * Add a patch to fix initialization on non-multi-arch targets
 +    (particularly Alpha and Sparc).
 +  * Enable testsuite on Alpha and Sparc.
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Thu,  4 Apr 2002 21:49:24 -0500
 +
 +gdb (5.2.cvs20020401-2) unstable; urgency=low
 +
 +  * My apologies to all you autobuilders out there.  Results were worse than
 +    I feared.  Testsuite is now run only on PowerPC and i386 until I can
 +    clean up the results everywhere else.
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Wed,  3 Apr 2002 17:24:17 -0500
 +
 +gdb (5.2.cvs20020401-1) unstable; urgency=low
 +
 +  * The "Ahhhhhhhhhhhhhhhhhh!" Release.
 +  * New snapshot from CVS (post-5.2) (yes, I know 5.2 isn't out yet).
 +    - Fixes crash on printing large types
 +      (Closes: #111017, #130592, #131033).
 +    - In one upstream patch and one pending patch, greatly improve
 +      debugging with GCC 2.95.  If you've ever breakpointed the
 +      beginning of a function and been frustrated when arguments
 +      printed incorrectly, this release is for you!  It should fix most
 +      occurances of that problem.
 +  * Patches from J.H.M. Dassen to use system readline.  Slightly tweaked.
 +    - [debian/rules] Build the refcard; figure out patches automatically.
 +    - [debian/use-dynamic-readline.patch] Link against dynamic readline again.
 +    - [debian/no-readline-docs.patch] Remove readline documentation.
 +    - [debian/const-tilde_expand.patch] Bring extern declaration of tilde_expand
 +      in sync with current readline headers.
 +    - [debian/rules] Ensure we don't build against the local readline copy by
 +      mistake; remove generated config.status files.
 +  * Include gdbserver if it is built.
 +  * Include a version of GDB with the TUI interface enabled
 +    (Closes: #137503).
 +  * Run 'make check' during build, for stabs and DWARF-2.
 +  * Add --disable-gdbtk (Closes: #115429).
 +  * Add a patch to prevent a hang while running the Java testsuite if
 +    gcj-3.0 is installed.
 +  * Include simulator in the binary package if one is built (PPC, ARM,
 +    MIPS) (Closes: #123185).
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Mon,  1 Apr 2002 17:17:30 -0500
 +
 +gdb (5.1.1-1) unstable; urgency=low
 +
 +  * New upstream release (Closes: #132314).
 +    - Corrected manual licenses (Closes: #129311).
 +  * Apply HPPA patch (Closes: #127301).
 +  * Add <stdbool.h> patch to fix conflict with new ncurses.
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Wed, 13 Feb 2002 16:39:32 -0500
 +
 +gdb (5.1-1) unstable; urgency=low
 +
 +  * New upstream release.
 +  * All patches merged upstream, including (hopefully) everything needed
 +  for S/390.
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Fri,  7 Dec 2001 13:04:15 -0500
 +
 +gdb (5.0.cvs20011007-3) unstable; urgency=low
 +
 +  * Add ARM patch (committed to upstream CVS).
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Wed, 31 Oct 2001 10:59:21 -0500
 +
 +gdb (5.0.cvs20011007-2) unstable; urgency=low
 +
 +  * Updated S/390 patch from Gerhard Tonn.
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Mon,  8 Oct 2001 13:55:06 -0400
 +
 +gdb (5.0.cvs20011007-1) unstable; urgency=low
 +
 +  * New upstream release.
 +  * Remove obsolete patches (gdb-docs, gdb-ppc-core).
 +  * Add S/390 support patch.
 +  * Configure for $(DEB_HOST_GNU_TYPE) (Closes: #109715).
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Sun,  7 Oct 2001 14:06:20 -0400
 +
 +gdb (5.0.cvs20010729-2) unstable; urgency=low
 +
 +  * Fix m68k build.  Again.  (Closes: #107807).
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Sat, 25 Aug 2001 15:32:16 -0700
 +
 +gdb (5.0.cvs20010729-1) unstable; urgency=low
 +
 +  * Call dh_installinfo from rules file (Closes: #107119).
 +  * Put info files in "Development" to match other Debian development tools.
 +  * Fix malformed gdbint.info file.
 +  * Use DH_COMPAT=3 to make dh_installinfo work better with wildcards,
 +    and bump debhelper build dependency.
 +  * Update to 5.1 release branch (Closes: #103992).
 +  * Fix PowerPC core files (Re: bug #107072).
 +  * Fix up patch handling in rules file a little bit.
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Mon, 30 Jul 2001 13:48:27 -0700
 +
 +gdb (5.0.cvs20010704-1) unstable; urgency=low
 +
 +  * The "Independence Day" release - CVS snapshot from July 4th.
 +  * New maintainer.
 +  * Update build-depends (Closes: #96835, #96897).
 +  * New version includes thread support - for some platforms.  I'm not going
 +    to close the related bugs until I've verified it on a few more targets.
 +  * Debhelperize (Closes: #97715, #97593).
 +  * Add Replaces: gdb-arm for upgrades (Closes: #79992).
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Thu,  5 Jul 2001 12:46:06 -0700
 +
 +gdb (5.0-4) unstable; urgency=low
 +
 +  * Made almost lintian clean:
 +    - added Section: and Priority: fields in gdb binary package
 +    - info files are now installed in /usr/share/info
 +    - binaries get now stripped
 +    - debian/copyright now refers to '/usr/share/common-licenses' for
 +      full GPL license text
 +    (patch by Domenico Andreoli <cavok at debian.org>)
 +  * added texinfo & tetex-bin to the build-dependencies.
 +
 + -- Vincent Renardias <vincent at debian.org>  Sun,  6 May 2001 21:19:16 +0200
 +
 +gdb (5.0-3) unstable; urgency=low
 +
 +  * Include upstream README & NEWS files.
 +    closes: #37978 gdb documentation.
 +  * s|usr/doc|usr/share/doc|g.
 +    closes: #69272: gdb: docs should be in /usr/share/doc according policy.
 +  * Fix description.
 +
 + -- Vincent Renardias <vincent at debian.org>  Wed, 16 Aug 2000 21:58:45 +0200
 +
 +gdb (5.0-2) unstable; urgency=low
 +
 +  * Include patch to get it to work on m68k.
 +    closes: #69185: gdb doesn't build on m68k.
 +
 + -- Vincent Renardias <vincent at debian.org>  Wed, 16 Aug 2000 19:33:16 +0200
 +
 +gdb (5.0-1) unstable; urgency=low
 +
 +  * New upstream code.
 +    (Foreign patches not re-applied for now. Will see if they
 +    are necessary)
 +    closes: #66221 New major upstream version (5.0) out.
 +    closes: #63337 gdb: Recompilation with libncurse5 needed.
 +    closes: #58450 gdb: Won't compile on PowerPC.
 +    closes: #54738 gdb does not compile on i386 under current glibc.
 +
 + -- Vincent Renardias <vincent at debian.org>  Sun, 13 Aug 2000 01:27:40 +0200
 +
 +gdb (4.18.19990928-1) unstable; urgency=low
 +
 +  * New upstream code.
 +    Fixes some problems related to the C++ code:
 +     closes: #46125: gdb seg faults calling C++ functions.
 +     closes: #46195: gdb is broken for C++
 +     closes: #43955: gdb can't resolve virtual methods with new g++
 +     closes: #36341: gdb: Gives a parse error when casting an expression
 +  * Include patch from David N. Welton <davidw at linuxcare.com>:
 +     closes: #45308: gdb: Patch for gdb debian/rules
 +  * ACK NMU:
 +     closes: #39661: gdb is broken on ppc arch.
 +  * Now compiles on non-i386 archs:
 +     closes: #32267
 +  * Updated my email address.
 +
 + -- Vincent Renardias <vincent at debian.org>  Wed, 29 Sep 1999 17:39:17 +0200
 +
 +gdb (4.18-1.1) unstable; urgency=low
 +
 +  * Applied some ppc patch i got from the linuxppc gdb.
 +
 + -- Sven LUTHER <luther at debian.org>  Mon, 14 Jun 1999 19:54:49 +0200
 +
 +gdb (4.18-1) unstable; urgency=low
 +
 +  * New upstream version!
 +
 + -- Vincent Renardias <vincent at waw.com>  Thu, 22 Apr 1999 17:35:41 +0200
 +
 +gdb (4.17.19981224-3.m68k.objc.threads.hwwp.fpu.gnat) unstable; urgency=low
 +
 +  * Upgrade to new code.
 +  * Apply HJL's 4.17.0.4 -> 4.17.0.8 patch.
 +  * Fix #30463.
 +
 + -- Vincent Renardias <vincent at waw.com>  Mon, 18 Jan 1999 23:38:36 +0100
 +
 +gdb (4.17-4.m68k.objc.threads.hwwp.fpu.gnat.3) frozen unstable; urgency=low
 +
 +  * Non-maintainer upload.
 +  * Apply threads patch (dynamically) only if building on i386; the patch
 +    works currently only correct on i386 and breaks compilation at least
 +    on m68k and sparc.
 +
 + -- Roman Hodek <Roman.Hodek at informatik.uni-erlangen.de>  Fri, 11 Dec 1998 13:56:00 +0100
 +
 +gdb (4.17-4.m68k.objc.threads.hwwp.fpu.gnat.2) unstable; urgency=low
 +
 +  * Non-maintainer upload.
 +  * debian/rules (checkroot): use tab not spaces, thanks to Roman Hodek
 +    <Roman.Hodek at informatik.uni-erlangen.de>. [#26798]
 +
 + -- James Troup <james at nocrew.org>  Tue, 20 Oct 1998 02:41:26 +0100
 +
 +gdb (4.17-4.m68k.objc.threads.hwwp.fpu.gnat.1) unstable; urgency=low
 +
 +  * NMU with yet more hideous revision.
 +  * PowerPC support via Matt McLean.
 +  * Clean up corrupted m68k files a little bit - move config/m68k/* to
 +    gdb/config/m68k/* and remove literal ^L's.
 +
 + -- Daniel Jacobowitz <dan at debian.org>  Fri, 11 Sep 1998 22:40:22 -0400
 +
 +gdb (4.17-4.m68k.objc.threads.hwwp.fpu.gnat) unstable; urgency=low
 +
 +  * Apply yet another patch to improve Objective-C support (Fix #24599).
 +
 + -- Vincent Renardias <vincent at waw.com>  Wed, 15 Jul 1998 12:34:47 +0200
 +
 +gdb (4.17-3.m68k.objc.threads.hwwp.fpu.gnat) unstable; urgency=low
 +
 +  * re-integrated gnat support.
 +    (Was repported as a bug against 4.16, patch had been integrated then,
 +    but dropped while switching to version 4.17).
 +    (NB: Not being an ADA expert, I'd appreciate if s/o could confirm
 +    it now works properly, thanx)
 +
 + -- Vincent Renardias <vincent at waw.com>  Fri,  3 Jul 1998 18:46:28 +0200
 +
 +gdb (4.17-2.m68k.objc.threads.hwwp.fpu) unstable; urgency=low
 +
 +  * Include patch to support debugging of multithreaded programs
 +    (Bug #23823)
 +    Note: Needs a patch to libc6 to work (submitted as #24213).
 +  * Include JH Lu patch to have hardware watchpoint and FPU support
 +    (Fix bug #660!! (40 months old!!!) & bug #16435)
 +  * Bug #8861 also appears to be fixed... Isn't that great? :)
 +  * Now provide the reference card (Bug #20772).
 +
 + -- Vincent Renardias <vincent at waw.com>  Fri,  3 Jul 1998 18:46:28 +0200
 +
 +gdb (4.17-1) unstable; urgency=low
 +
 +  * Fix #22555 (enable building on sparc)
 +  * Fix #21932 (acknowledge NMU)
 +
 + -- Vincent Renardias <vincent at waw.com>  Mon, 18 May 1998 17:56:10 +0200
 +
 +gdb (4.17-0.1) frozen unstable; urgency=low
 +
 +  * New upstream release (differences with upstream 4.16.98 are negligable).
 +  * Non-maintainer upload.
 +  * Disabled linking -rpath:
 +    * bfd/configure.in, opcodes/configure.in: applied libtool-rpath-workaround
 +    * gdb/configure.in, gdb/configure: don't use -rpath on Linux.
 +    * regenerate "configure" scripts involved.
 +
 + -- J.H.M. Dassen (Ray) <jdassen at wi.LeidenUniv.nl>  Thu, 30 Apr 1998 19:47:34 +0200
 +
 +gdb (4.16.98-1) frozen unstable; urgency=low
 +
 +  * New upstream code. Only change relevant on Linux: Patch by
 +    H.J. Lu so debugging of shared library works properly (That was
 +    the important patch motivating this upload).
 +    This release _is_ supposed to be the final gdb-4.17 (from the announce:
 +    'I wanted to make a "this is the release unless something is
 +    very wrong" release and then kick 4.17 out').
 +
 + -- Vincent Renardias <vincent at waw.com>  Thu, 23 Apr 1998 20:44:36 +0200
 +
 +gdb (4.16.86-1) unstable; urgency=low
 +
 +  * New upstream code. (still unreleased).
 +  * Re-added the m68k stuff that didn't make it upstream (Bug #19539, #19635).
 +  * Re-added the Objective-C stuff (Bug #19630)
 +
 + -- Vincent Renardias <vincent at waw.com>  Sat, 14 Mar 1998 23:40:06 +0100
 +
 +gdb (4.16.85-2) unstable; urgency=low
 +
 +  * debian/rules: Also remove gdb/doc/GDBvn.texi and config.log when cleaning up.
 +  * The following has been done by <jdassen at wi.LeidenUniv.nl>:
 +  * TODO: this version of gdb uses an evil new version of libtool which
 +    forces -rpath. With lesstif, I got around this by replacing the libtool
 +    scripts with those from the Debian libtool package.
 +  * Use dynamic readline library.
 +  * Install with preserved timestamps.
 +  * Clean out .tab.c files missed by "make distclean", so the .diff.gz is
 +    smaller.
 +  * Clean out symlinks, so dpkg-source works after debian/rules build clean.
 +  * Several other minor clean-ups of the rules file.
 +  * Updated FSF address (lintian).
 +  * Bumped Standards-Version.
 +
 + -- Vincent Renardias <vincent at waw.com>  Fri,  6 Mar 1998 20:49:54 +0100
 +
 +gdb (4.16.85-1) unstable; urgency=low
 +
 +  * New upstream code (Although not released yet).
 +
 + -- Vincent Renardias <vincent at waw.com>  Thu,  5 Mar 1998 20:19:14 +0100
 +
 +gdb (4.16-12) unstable; urgency=low
 +
 +  * Applied alpha patches (#11841).
 +
 + -- Vincent Renardias <vincent at waw.com>  Mon, 4 Aug 1997 22:28:54 +0200
 +
 +gdb (4.16-11) unstable; urgency=low
 +
 +  * Included patch to fix bugs (#11552,#11324).
 +
 + -- Vincent Renardias <vincent at waw.com>  Wed, 30 Jul 1997 20:40:01 +0200
 +
 +gdb (4.16-10) unstable; urgency=low
 +
 +  * Fixed #11136 (support for Ada;
 +    Thanx to Marc Eichin for pointing this patch).
 +
 + -- Vincent Renardias <vincent at waw.com>  Thu, 10 Jul 1997 19:38:07 +0200
 +
 +gdb (4.16-9) unstable; urgency=low
 +
 +  * Fixed #11037 (compilation on m68k).
 +
 + -- Vincent Renardias <vincent at waw.com>  Sat,  5 Jul 1997 16:14:39 +0200
 +
 +gdb (4.16-8) unstable; urgency=low
 +
 +  * Compiled with libc6/ncurses3.4/libreadline2.1.
 +  * Fixed #9654 (cosmetic fix).
 +  * Updated debian/control file (now supports Objective-C).
 +
 + -- Vincent Renardias <vincent at waw.com>  Sat, 21 Jun 1997 15:15:13 +0200
 +
 +gdb (4.16-7) unstable; urgency=low
 +
 +  * Fixed typo. in documentation (Fixes bug #5477).
 +
 + -- Vincent Renardias <vincent at waw.com>  Mon, 7 Apr 1997 16:35:53 +0200
 +
 +gdb (4.16-6) unstable; urgency=low
 +
 +  * Corrected texinfo documentation (Fixes bug #3823).
 +  * Added upstream ChangeLog file.
 +
 + -- Vincent Renardias <vincent at waw.com>  Sun, 16 Mar 1997 18:32:23 +0100
 +
 +gdb (4.16-5) unstable; urgency=low
 +
 +  * Included patch for glibc-2.0 support.
 +
 + -- Vincent Renardias <vincent at waw.com>  Sun, 16 Mar 1997 07:46:29 +0100
 +
 +gdb (4.16-4) unstable; urgency=low
 +
 +  * Included patch for Objective-C support (Fixes bug #7063).
 +
 + -- Vincent Renardias <vincent at waw.com>  Sun, 16 Mar 1997 03:12:13 +0100
 +
 +gdb (4.16-3) unstable; urgency=low
 +
 +  * New maintainer.
 +  * Included patches for m68k support.
 +
 + -- Vincent Renardias <vincent at waw.com>  Fri, 14 Mar 1997 22:07:58 +0100
 +
 +gdb (4.16-2) unstable; urgency=MEDIUM
 +
 +  * New caretaker: Stuart Lamble (note: this package is still up
 +    for adoption, as I would prefer not to be maintaining it
 +    full-time.)
 +  * Upgraded to the 2.1.1.0 source format.
 +  * Recompiled, with a corrected procfs.h, to correct problems with
 +    ELF coredumps.
 +  * Reformatted the changelog :-)
 +
 + -- Stuart Lamble <lamble at yoyo.cc.monash.edu.au>  Sun, 20 Oct 1996 18:48:40 +1000
diff --combined debian/control
index 2be6dc5,0000000..b26a8cf
mode 100644,000000..100644
--- a/debian/control
+++ b/debian/control
@@@ -1,115 -1,0 +1,95 @@@
 +Source: gdb
 +Maintainer: Hector Oron <zumbi at debian.org>
- Uploaders: Luca Bruno <lucab at debian.org>
++Uploaders: Luca Bruno <lucab at debian.org>, Samuel Bronson <naesten at gmail.com>
 +Section: devel
 +Priority: optional
 +Standards-Version: 3.9.3
 +Build-Depends: autoconf, libtool, texinfo (>= 4.7-2.2), texlive-base,
 + libncurses5-dev, libreadline-dev, bison, gettext, debhelper (>= 7.0.50),
 + dejagnu, gcj-jdk | gcj, gobjc, mig [hurd-any], cdbs (>= 0.4.17),
 + libkvm-dev [kfreebsd-any], libunwind7-dev [ia64],
 + flex | flex-old, libexpat1-dev, g++-multilib [i386 powerpc s390 sparc],
 + lib64readline6-dev [i386 powerpc s390 sparc], python-dev, zlib1g-dev,
++ libbz2-dev, liblzma-dev,
 + lib64ncurses5-dev [i386 powerpc s390 sparc], procps, lsb-release, bzip2
 +Vcs-Git: git://anonscm.debian.org/crosstoolchain/gdb.git
 +Vcs-Browser: http://anonscm.debian.org/gitweb/?p=crosstoolchain/gdb.git
 +Homepage: http://www.gnu.org/s/gdb/
 +
 +Package: gdb
 +Architecture: any
- Section: devel
 +Depends: ${shlibs:Depends}, ${misc:Depends},
-  gdbserver [amd64 armel armhf i386 ia64 mips mipsel powerpc s390]
++ gdbserver [amd64 armel armhf i386 ia64 m32r m68k mips mipsel powerpc powerpcspe ppc64 s390 s390x x32]
++Recommends: libc-dbg
 +Suggests: gdb-doc
 +Description: The GNU Debugger
 + GDB is a source-level debugger, capable of breaking programs at
 + any specific line, displaying variable values, and determining
 + where errors occurred. Currently, gdb supports C, C++, D,
 + Objective-C, Fortran, Java, OpenCL C, Pascal, assembly, Modula-2,
-  and Ada. A must-have for any serious programmer.
++ Go, and Ada. A must-have for any serious programmer.
 +
 +Package: gdb-minimal
 +Architecture: any
- Section: devel
 +Depends: ${shlibs:Depends}, ${misc:Depends}
 +Conflicts: gdb
 +Description: The GNU Debugger
 + GDB is a source-level debugger, capable of breaking programs at
 + any specific line, displaying variable values, and determining
 + where errors occurred. Currently, gdb supports C, C++, D,
 + Objective-C, Fortran, Java, OpenCL C, Pascal, assembly, Modula-2,
-  and Ada. A must-have for any serious programmer.
++ Go, and Ada. A must-have for any serious programmer.
 + .
 + This package contains a minimal version of GDB with optional features
 + disabled.
 +
 +Package: gdb64
 +Architecture: i386 powerpc s390 sparc
- Section: devel
- Depends: ${shlibs:Depends}, gdb(= ${binary:Version}), ${misc:Depends}
++Depends: ${shlibs:Depends}, gdb (= ${binary:Version}), ${misc:Depends}
 +Description: The GNU Debugger (64-bit)
 + GDB is a source-level debugger, capable of breaking programs at
 + any specific line, displaying variable values, and determining
 + where errors occurred. Currently, gdb supports C, C++, D,
 + Objective-C, Fortran, Java, OpenCL C, Pascal, assembly, Modula-2,
-  and Ada. A must-have for any serious programmer.
++ Go, and Ada. A must-have for any serious programmer.
 +
 +Package: gdb-multiarch
 +Architecture: any
- Section: devel
- Depends: ${shlibs:Depends}, gdb , ${misc:Depends}
++Depends: ${shlibs:Depends}, gdb (= ${binary:Version}), ${misc:Depends}
 +Description: The GNU Debugger (with support for multiple architectures)
 + GDB is a source-level debugger, capable of breaking programs at
 + any specific line, displaying variable values, and determining
-  where errors occurred. Currently, it works for C, C++, Fortran
-  Modula 2 and Java programs. A must-have for any serious
-  programmer.
++ where errors occurred. Currently, gdb supports C, C++, D,
++ Objective-C, Fortran, Java, OpenCL C, Pascal, assembly, Modula-2,
++ Go, and Ada. A must-have for any serious programmer.
 + .
 + This package contains a version of GDB which supports multiple
 + target architectures.
 +
 +Package: gdbserver
- Architecture: amd64 armel armhf i386 ia64 mips mipsel powerpc s390
- Section: devel
++Architecture: amd64 armel armhf i386 ia64 m32r m68k mips mipsel powerpc powerpcspe ppc64 s390 s390x x32
++# Also supports mips64, but dpkg doesn't know of any mips64 ABIs yet
 +Depends: ${shlibs:Depends}, ${misc:Depends}
 +Replaces: gdb (<< 7.0.1-1)
 +Description: The GNU Debugger (remote server)
 + GDB is a source-level debugger, capable of breaking programs at
 + any specific line, displaying variable values, and determining
 + where errors occurred. Currently, gdb supports C, C++, D,
 + Objective-C, Fortran, Java, OpenCL C, Pascal, assembly, Modula-2,
-  and Ada. A must-have for any serious programmer.
++ Go, and Ada. A must-have for any serious programmer.
 + .
 + This package contains gdbserver.  Install this to debug remotely
 + from another system where GDB is installed.
 +
- Package: libgdb-dev
- Architecture: any
- Section: libdevel
- Depends: ${shlibs:Depends}, ${misc:Depends}, binutils-dev, libexpat1-dev,
-  python-dev, zlib1g-dev, libncurses5-dev, libreadline-dev, gdb
- Priority: extra
- Description: The GNU Debugger (libgdb.a)
-  GDB is a source-level debugger, capable of breaking programs at
-  any specific line, displaying variable values, and determining
-  where errors occurred. Currently, gdb supports C, C++, D,
-  Objective-C, Fortran, Java, OpenCL C, Pascal, assembly, Modula-2,
-  and Ada. A must-have for any serious programmer.
-  .
-  This package contains libgdb.a, the bulk of GDB as a linkable
-  library.  It is provided for an IDE which links to libgdb.a.  Please
-  do not use libgdb.a for new projects.
- 
 +Package: gdb-source
 +Architecture: all
- Section: devel
- Depends: ${misc:Depends}, gdb
++Depends: ${misc:Depends}
 +Description: The GNU Debugger (source)
 + GDB is a source-level debugger, capable of breaking programs at
 + any specific line, displaying variable values, and determining
 + where errors occurred. Currently, gdb supports C, C++, D,
 + Objective-C, Fortran, Java, OpenCL C, Pascal, assembly, Modula-2,
-  and Ada. A must-have for any serious programmer.
++ Go, and Ada. A must-have for any serious programmer.
 + .
 + This package contains the sources and patches which are needed
 + to build GDB.
diff --combined debian/control.in
index 3c2bd53,0000000..1cd53ff
mode 100644,000000..100644
--- a/debian/control.in
+++ b/debian/control.in
@@@ -1,115 -1,0 +1,95 @@@
 +Source: gdb
 +Maintainer: Hector Oron <zumbi at debian.org>
- Uploaders: Luca Bruno <lucab at debian.org>
++Uploaders: Luca Bruno <lucab at debian.org>, Samuel Bronson <naesten at gmail.com>
 +Section: devel
 +Priority: optional
- Standards-Version: 3.9.2
++Standards-Version: 3.9.3
 +Build-Depends: autoconf, libtool, texinfo (>= 4.7-2.2), texlive-base,
 + libncurses5-dev, libreadline-dev, bison, gettext, debhelper (>= 7.0.50),
 + dejagnu, gcj-jdk | gcj, gobjc, mig [hurd-any], cdbs (>= 0.4.17),
 + libkvm-dev [kfreebsd-any], libunwind7-dev [ia64],
 + flex | flex-old, libexpat1-dev, g++-multilib [i386 powerpc s390 sparc],
 + lib64readline6-dev [i386 powerpc s390 sparc], python-dev, zlib1g-dev,
++ libbz2-dev, liblzma-dev,
 + lib64ncurses5-dev [i386 powerpc s390 sparc], procps, lsb-release, bzip2
 +Vcs-Git: git://anonscm.debian.org/crosstoolchain/gdb.git
 +Vcs-Browser: http://anonscm.debian.org/gitweb/?p=crosstoolchain/gdb.git
 +Homepage: http://www.gnu.org/s/gdb/
 +
 +Package: gdb at TS@
 +Architecture: any
- Section: devel
 +Depends: ${shlibs:Depends}, ${misc:Depends},
-  gdbserver [amd64 armel armhf i386 ia64 mips mipsel powerpc s390]
++ gdbserver [amd64 armel armhf i386 ia64 m32r m68k mips mipsel powerpc powerpcspe ppc64 s390 s390x x32]
++Recommends: libc-dbg
 +Suggests: gdb-doc
 +Description: The GNU Debugger
 + GDB is a source-level debugger, capable of breaking programs at
 + any specific line, displaying variable values, and determining
 + where errors occurred. Currently, gdb supports C, C++, D,
 + Objective-C, Fortran, Java, OpenCL C, Pascal, assembly, Modula-2,
-  and Ada. A must-have for any serious programmer.
++ Go, and Ada. A must-have for any serious programmer.
 +
 +Package: gdb-minimal
 +Architecture: any
- Section: devel
 +Depends: ${shlibs:Depends}, ${misc:Depends}
 +Conflicts: gdb
 +Description: The GNU Debugger
 + GDB is a source-level debugger, capable of breaking programs at
 + any specific line, displaying variable values, and determining
 + where errors occurred. Currently, gdb supports C, C++, D,
 + Objective-C, Fortran, Java, OpenCL C, Pascal, assembly, Modula-2,
-  and Ada. A must-have for any serious programmer.
++ Go, and Ada. A must-have for any serious programmer.
 + .
 + This package contains a minimal version of GDB with optional features
 + disabled.
 +
 +Package: gdb64
 +Architecture: i386 powerpc s390 sparc
- Section: devel
- Depends: ${shlibs:Depends}, gdb(= ${binary:Version}), ${misc:Depends}
++Depends: ${shlibs:Depends}, gdb (= ${binary:Version}), ${misc:Depends}
 +Description: The GNU Debugger (64-bit)
 + GDB is a source-level debugger, capable of breaking programs at
 + any specific line, displaying variable values, and determining
 + where errors occurred. Currently, gdb supports C, C++, D,
 + Objective-C, Fortran, Java, OpenCL C, Pascal, assembly, Modula-2,
-  and Ada. A must-have for any serious programmer.
++ Go, and Ada. A must-have for any serious programmer.
 +
 +Package: gdb-multiarch
 +Architecture: any
- Section: devel
- Depends: ${shlibs:Depends}, gdb , ${misc:Depends}
++Depends: ${shlibs:Depends}, gdb (= ${binary:Version}), ${misc:Depends}
 +Description: The GNU Debugger (with support for multiple architectures)
 + GDB is a source-level debugger, capable of breaking programs at
 + any specific line, displaying variable values, and determining
-  where errors occurred. Currently, it works for C, C++, Fortran
-  Modula 2 and Java programs. A must-have for any serious
-  programmer.
++ where errors occurred. Currently, gdb supports C, C++, D,
++ Objective-C, Fortran, Java, OpenCL C, Pascal, assembly, Modula-2,
++ Go, and Ada. A must-have for any serious programmer.
 + .
 + This package contains a version of GDB which supports multiple
 + target architectures.
 +
 +Package: gdbserver
- Architecture: amd64 armel armhf i386 ia64 mips mipsel powerpc s390
- Section: devel
++Architecture: amd64 armel armhf i386 ia64 m32r m68k mips mipsel powerpc powerpcspe ppc64 s390 s390x x32
++# Also supports mips64, but dpkg doesn't know of any mips64 ABIs yet
 +Depends: ${shlibs:Depends}, ${misc:Depends}
 +Replaces: gdb (<< 7.0.1-1)
 +Description: The GNU Debugger (remote server)
 + GDB is a source-level debugger, capable of breaking programs at
 + any specific line, displaying variable values, and determining
 + where errors occurred. Currently, gdb supports C, C++, D,
 + Objective-C, Fortran, Java, OpenCL C, Pascal, assembly, Modula-2,
-  and Ada. A must-have for any serious programmer.
++ Go, and Ada. A must-have for any serious programmer.
 + .
 + This package contains gdbserver.  Install this to debug remotely
 + from another system where GDB is installed.
 +
- Package: libgdb-dev
- Architecture: any
- Section: libdevel
- Depends: ${shlibs:Depends}, ${misc:Depends}, binutils-dev, libexpat1-dev,
-  python-dev, zlib1g-dev, libncurses5-dev, libreadline-dev, gdb
- Priority: extra
- Description: The GNU Debugger (libgdb.a)
-  GDB is a source-level debugger, capable of breaking programs at
-  any specific line, displaying variable values, and determining
-  where errors occurred. Currently, gdb supports C, C++, D,
-  Objective-C, Fortran, Java, OpenCL C, Pascal, assembly, Modula-2,
-  and Ada. A must-have for any serious programmer.
-  .
-  This package contains libgdb.a, the bulk of GDB as a linkable
-  library.  It is provided for an IDE which links to libgdb.a.  Please
-  do not use libgdb.a for new projects.
- 
 +Package: gdb-source
 +Architecture: all
- Section: devel
- Depends: ${misc:Depends}, gdb
++Depends: ${misc:Depends}
 +Description: The GNU Debugger (source)
 + GDB is a source-level debugger, capable of breaking programs at
 + any specific line, displaying variable values, and determining
 + where errors occurred. Currently, gdb supports C, C++, D,
 + Objective-C, Fortran, Java, OpenCL C, Pascal, assembly, Modula-2,
-  and Ada. A must-have for any serious programmer.
++ Go, and Ada. A must-have for any serious programmer.
 + .
 + This package contains the sources and patches which are needed
 + to build GDB.
diff --combined debian/gbp.conf
index 0000000,0000000..dd7889c
new file mode 100644
--- /dev/null
+++ b/debian/gbp.conf
@@@ -1,0 -1,0 +1,2 @@@
++[DEFAULT]
++debian-branch=experimental
diff --combined debian/gdb-source.preinst
index 0000000,0000000..d35604d
new file mode 100644
--- /dev/null
+++ b/debian/gdb-source.preinst
@@@ -1,0 -1,0 +1,12 @@@
++#! /bin/sh
++set -e
++
++# Delete symlink that will be replaced by a directory
++docdir="/usr/share/doc/gdb-source"
++if [ -L $docdir ]; then
++    rm $docdir 2>/dev/null
++fi
++
++#DEBHELPER#
++
++exit 0
diff --combined debian/gdb64.lintian-overrides
index 0000000,0000000..a2de989
new file mode 100644
--- /dev/null
+++ b/debian/gdb64.lintian-overrides
@@@ -1,0 -1,0 +1,2 @@@
++# Yes, this is *supposed* to be from another architecture
++binary-from-other-architecture usr/bin/gdb64
diff --combined debian/patches/dwarf2-cfi-warning.patch
index 9b65250,0000000..327cebe
mode 100644,000000..100644
--- a/debian/patches/dwarf2-cfi-warning.patch
+++ b/debian/patches/dwarf2-cfi-warning.patch
@@@ -1,36 -1,0 +1,36 @@@
 +Status: Unsuitable for upstream (at least, without a lot of arguing).
 +
 +GCC does not specify the state of every last register in the CIE.  Since
 +GCC's focus is on correctness of runtime unwinding, any registers which
 +have to be unwound will be specified; but unmodified registers will not
 +be explicitly marked.  (How about modified, call-clobbered registers?
 +I'm not sure if they are marked as unavailable.)
 +
 +GDB issues a noisy warning about this.  The warning is generally not useful,
 +and we can get it extremely frequently (any time we load a new CIE).
 +
 +This patch disables the warning.  Alternately we could set the complaints
 +threshold to zero, or implement a default frame init-register method for
 +every architecture.  But someday the compiler will support using different
 +calling conventions for internal functions, so that's not much of a stopgap. 
 +ARM has a complex algorithm for handling this, involving scanning all CIEs -
 +benefit not completely clear outside of the ARM context of flexible register
 +sets.
 +
 +---
 + gdb/dwarf2-frame.c |    2 +-
 + 1 file changed, 1 insertion(+), 1 deletion(-)
 +
- Index: gdb-7.5/gdb/dwarf2-frame.c
++Index: gdb-7.4/gdb/dwarf2-frame.c
 +===================================================================
- --- gdb-7.5.orig/gdb/dwarf2-frame.c	2012-08-06 19:21:51.000000000 +0000
- +++ gdb-7.5/gdb/dwarf2-frame.c	2012-11-12 20:16:08.000000000 +0000
- @@ -1169,7 +1169,7 @@
++--- gdb-7.4.orig/gdb/dwarf2-frame.c	2011-11-17 15:58:35.000000000 +0000
+++++ gdb-7.4/gdb/dwarf2-frame.c	2011-11-17 17:01:03.229359137 +0000
++@@ -1157,7 +1157,7 @@
 + 	   DWARF2 register numbers.  */
 + 	if (fs->regs.reg[column].how == DWARF2_FRAME_REG_UNSPECIFIED)
 + 	  {
 +-	    if (cache->reg[regnum].how == DWARF2_FRAME_REG_UNSPECIFIED)
 ++	    if (0 && cache->reg[regnum].how == DWARF2_FRAME_REG_UNSPECIFIED)
 + 	      complaint (&symfile_complaints, _("\
 + incomplete CFI data; unspecified registers (e.g., %s) at %s"),
 + 			 gdbarch_register_name (gdbarch, regnum),
diff --combined debian/patches/gdb-fortran-main.patch
index e10be07,0000000..757b403
mode 100644,000000..100644
--- a/debian/patches/gdb-fortran-main.patch
+++ b/debian/patches/gdb-fortran-main.patch
@@@ -1,86 -1,0 +1,86 @@@
 +Daniel,
 +
 +Although the proper way of adding case insensitivity to symbol lookup is 
 +still under discussion, I think it might be desirable to set the main 
 +function of Fortran programs to "MAIN__" first.  Because it can at least 
 +let GDB recognize that the language is Fortran after loading a Fortran 
 +executable only.  What is your idea on this?  Please comments.  TIA!
 +
 +Here is the patch to set the main function in Fortran programs to 
 +"MAIN__".  And followed is a patch to verify this.  Tested with g77 and 
 +gfortran on x86, and g77 on ppc64.  With the first patch, it reported 
 +PASS; without, report FAIL.  No regression is found in gdb.fortran 
 +testcases.  
 +
 +P.S: if there is a symbol named "MAIN__" in sources of other languages, it 
 +might disturb the debugging.  But I am not sure how much it is.
 +
 +---
 + gdb/symtab.c                       |    8 +++++--
 + gdb/testsuite/gdb.fortran/lang.exp |   40 +++++++++++++++++++++++++++++++++++++
 + 2 files changed, 46 insertions(+), 2 deletions(-)
 +
- Index: gdb-7.5/gdb/symtab.c
++Index: gdb-7.4/gdb/symtab.c
 +===================================================================
- --- gdb-7.5.orig/gdb/symtab.c	2012-07-16 03:07:01.000000000 +0000
- +++ gdb-7.5/gdb/symtab.c	2012-11-12 20:23:59.000000000 +0000
- @@ -4930,8 +4930,12 @@
++--- gdb-7.4.orig/gdb/symtab.c	2011-11-17 15:58:35.000000000 +0000
+++++ gdb-7.4/gdb/symtab.c	2011-11-17 17:03:36.557359070 +0000
++@@ -4598,8 +4598,12 @@
 +     }
 + 
 +   /* The languages above didn't identify the name of the main procedure.
 +-     Fallback to "main".  */
 +-  set_main_name ("main");
 ++     Fallback to "MAIN__" (g77 and gfortran) if we can find it in the
 ++     minimal symtab, to "main" otherwise.  */
 ++  if (lookup_minimal_symbol ("MAIN__", NULL, NULL))
 ++    set_main_name ("MAIN__");
 ++  else
 ++    set_main_name ("main");
 + }
 + 
 + char *
- Index: gdb-7.5/gdb/testsuite/gdb.fortran/lang.exp
++Index: gdb-7.4/gdb/testsuite/gdb.fortran/lang.exp
 +===================================================================
 +--- /dev/null	1970-01-01 00:00:00.000000000 +0000
- +++ gdb-7.5/gdb/testsuite/gdb.fortran/lang.exp	2012-11-12 20:23:59.000000000 +0000
+++++ gdb-7.4/gdb/testsuite/gdb.fortran/lang.exp	2011-11-17 17:03:36.585359070 +0000
 +@@ -0,0 +1,40 @@
 ++# Copyright 2005 Free Software Foundation, Inc.
 ++
 ++# 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 ++
 ++# This file was written by Wu Zhou. (woodzltc at cn.ibm.com)
 ++
 ++# This file is part of the gdb testsuite.  It is intended to test that gdb
 ++# could recognize the Fortran language after loading the binary
 ++
 ++if $tracelevel then {
 ++	strace $tracelevel
 ++}
 ++
 ++set testfile "array-element"
 ++set srcfile ${srcdir}/${subdir}/${testfile}.f
 ++set binfile ${objdir}/${subdir}/${testfile}
 ++
 ++if  { [gdb_compile "${srcfile}" "${binfile}" executable {debug f77}] != "" } {
 ++    untested "Couldn't compile ${srcfile}"
 ++    return -1
 ++}
 ++
 ++gdb_exit
 ++gdb_start
 ++gdb_reinitialize_dir $srcdir/$subdir
 ++gdb_load ${binfile}
 ++
 ++gdb_test "show language" ".*currently fortran.*" "show language(fortran)"
diff --combined debian/patches/gdbinit-ownership.patch
index 9aa161b,0000000..287f2f9
mode 100644,000000..100644
--- a/debian/patches/gdbinit-ownership.patch
+++ b/debian/patches/gdbinit-ownership.patch
@@@ -1,70 -1,0 +1,71 @@@
 +This patch was not popular upstream; there was no fundamental objection, but
 +several problems with the implementation.  It needs to be revisited.
 +
 +---
 + gdb/cli/cli-cmds.c |   42 +++++++++++++++++++++++++++++++++++++++++-
 + gdb/main.c         |    4 ++--
 + 2 files changed, 43 insertions(+), 3 deletions(-)
 +
- Index: gdb-7.5/gdb/cli/cli-cmds.c
++Index: gdb/gdb/cli/cli-cmds.c
 +===================================================================
- --- gdb-7.5.orig/gdb/cli/cli-cmds.c	2012-08-06 18:33:57.000000000 +0000
- +++ gdb-7.5/gdb/cli/cli-cmds.c	2012-11-12 20:23:53.000000000 +0000
++--- gdb.orig/gdb/cli/cli-cmds.c	2013-01-27 16:12:09.000000000 -0500
+++++ gdb/gdb/cli/cli-cmds.c	2013-01-27 16:14:59.000000000 -0500
 +@@ -54,6 +54,8 @@
 + #include "tui/tui.h"	/* For tui_active et.al.  */
 + #endif
 + 
 ++#include "gdb_stat.h"
 ++
 + #include <fcntl.h>
 + 
 + /* Prototypes for local command functions */
- @@ -580,13 +582,47 @@
++@@ -580,7 +582,9 @@
 +          If the source command was invoked interactively, throw an
 + 	 error.  Otherwise (e.g. if it was invoked by a script),
 + 	 silently ignore the error.  */
 +-      if (from_tty)
 ++      /* Or, if this was an automatic load during startup, ignore the
- +	 error.  */
+++        error.  */
 ++      if (from_tty > 0)
 + 	perror_with_name (file);
 +       else
 + 	return;
-      }
++@@ -588,6 +592,38 @@
 + 
 +   old_cleanups = make_cleanup (xfree, full_path);
++   make_cleanup_fclose (stream);
 ++
 ++  if (stream == NULL)
 ++    {
 ++      if (from_tty)
- +	perror_with_name (file);
+++       perror_with_name (file);
 ++      else
- +	{
- +	  do_cleanups (old_cleanups);
- +	  return;
- +	}
+++       {
+++         do_cleanups (old_cleanups);
+++         return;
+++       }
 ++    }
 ++
 ++#ifdef HAVE_GETUID
 ++  if (from_tty == -1)
 ++    {
 ++      struct stat statbuf;
 ++      int fd = fileno (stream);
 ++      if (fstat (fd, &statbuf) < 0)
- +	{
- +	  make_cleanup_fclose (stream);
- +	  perror_with_name (file);
- +	}
- +      if (statbuf.st_uid != getuid() || (statbuf.st_mode & S_IWOTH))
- +	{
- +	  warning ("not using untrusted file \"%s\"", file);
- +	  fclose (stream);
- +	  do_cleanups (old_cleanups);
- +	  return;
- +	}
+++       {
+++         make_cleanup_fclose (stream);
+++         perror_with_name (file);
+++       }
+++      if (statbuf.st_uid != getuid () || (statbuf.st_mode & S_IWOTH))
+++       {
+++         warning ("not using untrusted file \"%s\"", file);
+++         fclose (stream);
+++         do_cleanups (old_cleanups);
+++         return;
+++       }
 ++    }
 ++#endif
 ++
-    make_cleanup_fclose (stream);
 +   /* The python support reopens the file, so we need to pass full_path here
 +      in case the file was found on the search path.  It's useful to do this
++      anyway so that error messages show the actual file used.  But only do
diff --combined debian/patches/linux-clear-thread-list.patch
index 4ea7bbe,0000000..6028d2f
mode 100644,000000..100644
--- a/debian/patches/linux-clear-thread-list.patch
+++ b/debian/patches/linux-clear-thread-list.patch
@@@ -1,23 -1,0 +1,23 @@@
 +Status: unsubmitted
 +
 +This patch was for Debian bug #303736.  I now believe it's in the wrong
 +place; the generic mourn inferior should do this, perhaps.
 +
 +---
 + gdb/linux-thread-db.c |    3 +++
 + 1 file changed, 3 insertions(+)
 +
- Index: gdb-7.5/gdb/linux-thread-db.c
++Index: gdb-7.4/gdb/linux-thread-db.c
 +===================================================================
- --- gdb-7.5.orig/gdb/linux-thread-db.c	2012-07-07 12:11:31.000000000 +0000
- +++ gdb-7.5/gdb/linux-thread-db.c	2012-11-12 20:24:04.000000000 +0000
- @@ -1541,6 +1541,9 @@
++--- gdb-7.4.orig/gdb/linux-thread-db.c	2011-11-17 15:58:35.000000000 +0000
+++++ gdb-7.4/gdb/linux-thread-db.c	2011-11-17 17:03:42.573359067 +0000
++@@ -1437,6 +1437,9 @@
 +      the inferior, so that we don't try to uninsert them.  */
 +   remove_thread_event_breakpoints ();
 + 
 ++  /* Destroy thread info; it's no longer valid.  */
 ++  init_thread_list ();
 ++
 +   /* Detach thread_db target ops.  */
 +   if (!thread_db_list)
 +     unpush_target (ops);
diff --combined debian/patches/linuxthreads_signal_handling.patch
index 11f322d,0000000..451297f
mode 100644,000000..100644
--- a/debian/patches/linuxthreads_signal_handling.patch
+++ b/debian/patches/linuxthreads_signal_handling.patch
@@@ -1,40 -1,0 +1,40 @@@
 +
 +Temporary support for LinuxThreads signal handling on GNU/kFreeBSD (see #669043)
 +
- Index: gdb-7.5/gdb/common/signals.c
++Index: gdb/gdb/common/signals.c
 +===================================================================
- --- gdb-7.5.orig/gdb/common/signals.c	2012-05-24 16:51:37.000000000 +0000
- +++ gdb-7.5/gdb/common/signals.c	2012-11-12 20:28:43.000000000 +0000
++--- gdb.orig/gdb/common/signals.c	2013-01-30 00:42:18.000000000 -0500
+++++ gdb/gdb/common/signals.c	2013-01-30 01:00:09.000000000 -0500
 +@@ -334,6 +334,15 @@
 +     return GDB_SIGNAL_INFO;
 + #endif
 + 
 ++#if defined(__GLIBC__) && defined(__FreeBSD_kernel__)
 ++  if (hostsig == 32)
 ++    return TARGET_SIGNAL_LINUXTHREADS_RESTART;
 ++  if (hostsig == 33)
 ++    return TARGET_SIGNAL_LINUXTHREADS_CANCEL;
 ++  if (hostsig == 34)
 ++    return TARGET_SIGNAL_LINUXTHREADS_DEBUG;
 ++#endif
 ++
 + #if defined (REALTIME_LO)
 +   if (hostsig >= REALTIME_LO && hostsig < REALTIME_HI)
 +     {
- Index: gdb-7.5/include/gdb/signals.def
++Index: gdb/include/gdb/signals.def
 +===================================================================
- --- gdb-7.5.orig/include/gdb/signals.def	2012-05-24 16:51:39.000000000 +0000
- +++ gdb-7.5/include/gdb/signals.def	2012-11-12 20:30:45.000000000 +0000
++--- gdb.orig/include/gdb/signals.def	2013-01-30 00:42:18.000000000 -0500
+++++ gdb/include/gdb/signals.def	2013-01-30 01:00:09.000000000 -0500
 +@@ -194,7 +194,11 @@
 + SET (TARGET_EXC_SOFTWARE, 149, "EXC_SOFTWARE", "Software generated exception")
 + SET (TARGET_EXC_BREAKPOINT, 150, "EXC_BREAKPOINT", "Breakpoint")
 + 
 ++SET (TARGET_SIGNAL_LINUXTHREADS_RESTART, 151, "32", "LinuxThreads restart signal")
 ++SET (TARGET_SIGNAL_LINUXTHREADS_CANCEL, 152, "33", "LinuxThreads cancel signal")
 ++SET (TARGET_SIGNAL_LINUXTHREADS_DEBUG, 153, "34", "LinuxThreads debug signal")
 ++
 + /* If you are adding a new signal, add it just above this comment.  */
 + 
 + /* Last and unused enum value, for sizing arrays, etc.  */
 +-SET (GDB_SIGNAL_LAST, 151, NULL, "GDB_SIGNAL_MAGIC")
 ++SET (GDB_SIGNAL_LAST, 154, NULL, "GDB_SIGNAL_MAGIC")
diff --combined debian/patches/m68k-thread-debugging.patch
index 0000000,0000000..989a712
new file mode 100644
--- /dev/null
+++ b/debian/patches/m68k-thread-debugging.patch
@@@ -1,0 -1,0 +1,51 @@@
++2012-03-08  Andreas Schwab  <schwab at linux-m68k.org>
++
++       * m68klinux-nat.c: Include "gdb_proc_service.h".
++       (PTRACE_GET_THREAD_AREA): Define.
++       (ps_get_thread_area): New function.
++
++Index: gdb-7.4.1/gdb/m68klinux-nat.c
++===================================================================
++--- gdb-7.4.1.orig/gdb/m68klinux-nat.c	2012-01-06 04:43:19.000000000 +0000
+++++ gdb-7.4.1/gdb/m68klinux-nat.c	2012-09-19 22:19:06.000000000 +0000
++@@ -51,7 +51,14 @@
++ 
++ /* Prototypes for supply_gregset etc.  */
++ #include "gregset.h"
++-

+++
+++/* Defines ps_err_e, struct ps_prochandle.  */
+++#include "gdb_proc_service.h"
+++
+++#ifndef PTRACE_GET_THREAD_AREA
+++#define PTRACE_GET_THREAD_AREA 25
+++#endif
+++
++ /* This table must line up with gdbarch_register_name in "m68k-tdep.c".  */
++ static const int regmap[] =
++ {
++@@ -556,6 +563,24 @@
++ }
++ 

++ 
+++/* Fetch the thread-local storage pointer for libthread_db.  */
+++
+++ps_err_e
+++ps_get_thread_area (const struct ps_prochandle *ph,
+++                  lwpid_t lwpid, int idx, void **base)
+++{
+++  if (ptrace (PTRACE_GET_THREAD_AREA, lwpid, NULL, base) < 0)
+++    return PS_ERR;
+++
+++  /* IDX is the bias from the thread pointer to the beginning of the
+++     thread descriptor.  It has to be subtracted due to implementation
+++     quirks in libthread_db.  */
+++  *base = (char *) *base - idx;
+++
+++  return PS_OK;
+++}
+++

+++
++ /* Register that we are able to handle GNU/Linux ELF core file
++    formats.  */
++ 
diff --combined debian/patches/man-page-args.patch
index 0729638,0000000..78b4aeb
mode 100644,000000..100644
--- a/debian/patches/man-page-args.patch
+++ b/debian/patches/man-page-args.patch
@@@ -1,52 -1,0 +1,52 @@@
 +---
 + gdb/gdb.1 |   27 ++++++++++++++++++++++++++-
 + 1 file changed, 26 insertions(+), 1 deletion(-)
 +
- Index: gdb-7.5/gdb/gdb.1
++Index: gdb-7.4/gdb/gdb.1
 +===================================================================
- --- gdb-7.5.orig/gdb/gdb.1	2012-05-09 21:06:13.000000000 +0000
- +++ gdb-7.5/gdb/gdb.1	2012-11-12 20:24:10.000000000 +0000
- @@ -42,10 +42,25 @@
++--- gdb-7.4.orig/gdb/gdb.1	2011-08-23 21:25:40.000000000 +0100
+++++ gdb-7.4/gdb/gdb.1	2011-11-17 17:03:46.313359066 +0000
++@@ -39,10 +39,25 @@
 + .I dir\c
 + \&\|]
 + .RB "[\|" \c
 +-.I prog\c
 ++.I prog
 + .RB "[\|" \c
 + .IR core \||\| procID\c
 + \&\|]\&\|]
 ++.TP
 ++.B gdb
 ++.RB "[\|" \c
 ++.I options\c
 ++.RB "\|]"
 ++.RB "--args"
 ++.I prog
 ++.RB "[\|" \c
 ++.I arguments\c
 ++.RB "\|]"
 ++.TP
 ++.B gdbtui
 ++.RB "[\|" \c
 ++.I options\c
 ++.RB "\|]"
 + .ad b
 + .SH DESCRIPTION
 + The purpose of a debugger such as GDB is to allow you to see what is
- @@ -362,6 +377,16 @@
++@@ -352,6 +367,16 @@
 + Run using \c
 + .I device\c
 + \& for your program's standard input and output.
 ++
 ++.TP
 ++.BI "\-\-args"\c
 ++Pass \c
 ++.I arguments\c
 ++\& after the program name to the program when it is run.
 ++
 ++.TP
 ++.BI "\-tui"\c
 ++Run GDB using a text (console) user interface.
 + .PP
 + 
 + .SH "SEE ALSO"
diff --combined debian/patches/man-page-order.patch
index 88b0d09,0000000..89e8aaf
mode 100644,000000..100644
--- a/debian/patches/man-page-order.patch
+++ b/debian/patches/man-page-order.patch
@@@ -1,200 -1,0 +1,214 @@@
 +From 539edd1a9af966d16f3391edece93702a86c7155 Mon Sep 17 00:00:00 2001
 +From: Jari Aalto <jari.aalto at cante.net>
 +Date: Sat, 8 Aug 2009 10:18:20 +0300
 +Subject: [PATCH] gdb.1: Order options alphabetically
 +
 +Signed-off-by: Jari Aalto <jari.aalto at cante.net>
 +---
 + gdb/gdb.1 |  148 +++++++++++++++++++++++++-------------------------------------
 + 1 file changed, 60 insertions(+), 88 deletions(-)
 +
- Index: gdb-7.3.50~cvs20110627/gdb/gdb.1
++Index: gdb/gdb/gdb.1
 +===================================================================
- --- gdb-7.3.50~cvs20110627.orig/gdb/gdb.1	2011-06-28 00:16:13.267103856 +0100
- +++ gdb-7.3.50~cvs20110627/gdb/gdb.1	2011-06-28 00:16:17.791104170 +0100
- @@ -220,90 +220,11 @@
++--- gdb.orig/gdb/gdb.1	2013-01-27 16:15:00.000000000 -0500
+++++ gdb/gdb/gdb.1	2013-01-27 16:31:17.000000000 -0500
++@@ -223,97 +223,11 @@
 + `\|\c
 + .B \-x\c
 + \&\|' option is used.
 +-
 +-.TP
 +-.B \-help
 +-.TP
 +-.B \-h
 +-List all options, with brief explanations.
 +-
 +-.TP
 +-.BI "\-symbols=" "file"\c
 +-.TP
 +-.BI "\-s " "file"\c
 +-\&
 +-Read symbol table from file \c
 +-.I file\c
 +-\&.
 +-
 +-.TP
 +-.B \-write
 +-Enable writing into executable and core files.
 +-
 +-.TP
 +-.BI "\-exec=" "file"\c
 +-.TP
 +-.BI "\-e " "file"\c
 +-\&
 +-Use file \c
 +-.I file\c
 +-\& as the executable file to execute when
 +-appropriate, and for examining pure data in conjunction with a core
 +-dump.
 +-
 +-.TP
 +-.BI "\-se=" "file"\c
 +-\&
 +-Read symbol table from file \c
 +-.I file\c
 +-\& and use it as the executable
 +-file.
 +-
 +-.TP
 +-.BI "\-core=" "file"\c
- -.TP
++ .TP
 +-.BI "\-c " "file"\c
 +-\&
 +-Use file \c
 +-.I file\c
 +-\& as a core dump to examine.
 +-
 +-.TP
 +-.BI "\-command=" "file"\c
 +-.TP
 +-.BI "\-x " "file"\c
 +-\&
 +-Execute GDB commands from file \c
 +-.I file\c
 +-\&.  
 +-
 +-.TP
++-.BI "\-ex " "command"\c
++-\&
++-Execute given GDB \c
++-.I command\c
++-\&.
++-
++-.TP
 +-.BI "\-directory=" "directory"\c
-  .TP
++-.TP
 +-.BI "\-d " "directory"\c
 ++.BI "\-b " "bps"\c
 + \&
 +-Add \c
 +-.I directory\c
 +-\& to the path to search for source files.
 +-.PP
 +-
 +-.TP
 +-.B \-nx
 +-.TP
 +-.B \-n
 +-Do not execute commands from any `\|\c
 +-.B .gdbinit\c
 +-\&\|' initialization files.
 +-Normally, the commands in these files are executed after all the
 +-command options and arguments have been processed.
 +-
 +-
 +-.TP
 +-.B \-quiet
 +-.TP
 +-.B \-q
 +-``Quiet''.  Do not print the introductory and copyright messages.  These
 +-messages are also suppressed in batch mode.
 ++Set the line speed (baud rate or bits per second) of any serial
 ++interface used by GDB for remote debugging.
 + 
 + .TP
 + .B \-batch
- @@ -331,6 +252,12 @@
++@@ -341,6 +255,12 @@
 + terminates) is not issued when running in batch mode.
 + 
 + .TP
 ++.B \-c FILE, \-core=FILE
 ++Use file \c
 ++.I file\c
 ++\& as a core dump to examine.
 ++
 ++.TP
 + .BI "\-cd=" "directory"\c
 + \&
 + Run GDB using \c
- @@ -339,9 +266,21 @@
++@@ -349,9 +269,28 @@
 + instead of the current directory.
 + 
 + .TP
 +-.B \-fullname
 ++.B \-d DIRECTORY, \-directory=DIRECTORY
 ++Add \c
 ++.I directory\c
 ++\& to the path to search for source files.
 ++
 ++.TP
 ++.B \-e FILE, -exec=FILE
 ++Use file \c
 ++.I file\c
 ++\& as the executable file to execute when
 ++appropriate, and for examining pure data in conjunction with a core
 ++dump.
 ++
 + .TP
 +-.B \-f
+++.BI "\-ex " "command"\c
+++\&
+++Execute given GDB \c
+++.I command\c
+++\&.
+++
+++.TP
 ++.B \-f, \-fullname
 + Emacs sets this option when it runs GDB as a subprocess.  It tells GDB
 + to output the full file name and line number in a standard,
 + recognizable fashion each time a stack frame is displayed (which
- @@ -356,10 +295,34 @@
++@@ -366,10 +305,34 @@
 + a signal to display the source code for the frame.
 + 
 + .TP
 +-.BI "\-b " "bps"\c
 +-\&
 +-Set the line speed (baud rate or bits per second) of any serial
 +-interface used by GDB for remote debugging.
 ++.B \-h, \-help
 ++List all options, with brief explanations.
 ++
 ++.TP
 ++.B \-n, \-nx
 ++Do not execute commands from any `\|\c
 ++.B .gdbinit\c
 ++\&\|' initialization files.
 ++Normally, the commands in these files are executed after all the
 ++command options and arguments have been processed.
 ++
 ++.TP
 ++.B -s FILE, \-symbols=FILE
 ++Read symbol table from file \c
 ++.I file\c
 ++\&.
 ++
 ++.TP
 ++.BI "\-se=" "file"\c
 ++Read symbol table from file \c
 ++.I file\c
 ++\& and use it as the executable
 ++file.
 ++
 ++.TP
 ++.B \q, \-quiet
 ++``Quiet''.  Do not print the introductory and copyright messages.  These
 ++messages are also suppressed in batch mode.
 + 
 + .TP
 + .BI "\-tty=" "device"\c
- @@ -379,6 +342,15 @@
++@@ -389,6 +352,15 @@
 + Run GDB using a text (console) user interface.
 + .PP
 + 
 ++.TP
 ++.B \-write
 ++Enable writing into executable and core files.
 ++
 ++.TP
 ++.B \-x FILE, \-command=FILE
 ++Execute GDB commands from file \c
 ++.I file\c
 ++\&.
 + .SH "SEE ALSO"
 + .RB "`\|" gdb "\|'"
 + entry in
diff --combined debian/patches/member-field-symtab.patch
index 20fc85a,0000000..6649046
mode 100644,000000..100644
--- a/debian/patches/member-field-symtab.patch
+++ b/debian/patches/member-field-symtab.patch
@@@ -1,26 -1,0 +1,26 @@@
 +Status: unsubmitted
 +
 +This patch was for Debian bug #239535.  It needs to be tested, and
 +submitted.  It has shrunk since the first version, and may no
 +longer be necessary.
 +
 +---
 + gdb/valops.c |    4 +++-
 + 1 file changed, 3 insertions(+), 1 deletion(-)
 +
- Index: gdb-7.5/gdb/valops.c
++Index: gdb-7.4/gdb/valops.c
 +===================================================================
- --- gdb-7.5.orig/gdb/valops.c	2012-06-24 07:28:10.000000000 +0000
- +++ gdb-7.5/gdb/valops.c	2012-11-12 20:15:31.000000000 +0000
- @@ -3217,8 +3217,10 @@
++--- gdb-7.4.orig/gdb/valops.c	2011-11-17 15:58:35.000000000 +0000
+++++ gdb-7.4/gdb/valops.c	2011-11-17 17:00:55.453359139 +0000
++@@ -3171,8 +3171,10 @@
 + 	return 1;
 +     }
 + 
 ++  /* Check each baseclass.  Call check_typedef, which will follow typedefs
 ++     and do opaque/stub type resolution.  */
 +   for (i = TYPE_N_BASECLASSES (type) - 1; i >= 0; i--)
 +-    if (check_field (TYPE_BASECLASS (type, i), name))
 ++    if (check_field (check_typedef (TYPE_BASECLASS (type, i)), name))
 +       return 1;
 + 
 +   return 0;
diff --combined debian/patches/series
index 9eed355,0000000..7c68873
mode 100644,000000..100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@@ -1,12 -1,0 +1,11 @@@
 +member-field-symtab.patch 
 +dwarf2-cfi-warning.patch 
- gdbinit-ownership.patch
 +gdb-fortran-main.patch 
 +linux-clear-thread-list.patch
 +man-page-args.patch
- debian-changes-7.3.50~cvs20110627-1
++man-page-order.patch
 +#0000-tui-skip-registers-pr-tui-13073.patch
 +#0001-netbsd-init-match-property-field.patch
 +#0002-add-cpu-to-source-release.patch
 +#renesas-sh-native-support.patch
 +linuxthreads_signal_handling.patch
diff --combined debian/rules
index 270930e,0000000..0174e13
mode 100755,000000..100755
--- a/debian/rules
+++ b/debian/rules
@@@ -1,342 -1,0 +1,334 @@@
 +#!/usr/bin/make -f
 +
 +ALL_BUILDDIR := $(shell pwd)/build
 +
 +DEB_BUILDDIR := $(ALL_BUILDDIR)/objdir
 +DEB_DH_INSTALL_SOURCEDIR := $(shell pwd)/debian/tmp
 +#DEB_DH_STRIP_ARGS := --dbg-package=gdb-dbg
 +
 +# This implements the .deb package creation using debhelper.
 +include /usr/share/cdbs/1/rules/debhelper.mk
 +
 +# This implements building using a configure script and Makefile.
 +include /usr/share/cdbs/1/class/autotools.mk
 +
 +# Override CDBS's default CFLAGS, which also includes -Wall; gdb
 +# does not handle -Wunused well with -Werror, but defaults to
 +# -Werror.
 +CFLAGS = -g $(DEB_OPT_FLAG)
 +
 +# Always install into debian/tmp, even if we are only building one package.
 +DEB_DESTDIR := $(shell pwd)/debian/tmp
 +
 +install = /usr/bin/install -p
 +
 +# Rather paranoid than sorry. Make the shell exit with an error if an
 +# untested command fails.
 +SHELL += -e
 +
 +DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 +DEB_HOST_GNU_SYSTEM := $(shell dpkg-architecture -qDEB_HOST_GNU_SYSTEM)
 +DEB_HOST_GNU_CPU := $(shell dpkg-architecture -qDEB_HOST_GNU_CPU)
 +DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 +
 +# Cross configuration support.  Check for an environment variable
 +# $GDB_TARGET, or a file debian/target.
 +ifndef GDB_TARGET
 +DEBIAN_TARGET_FILE := $(strip $(shell cat debian/target 2>/dev/null))
 +ifneq ($(DEBIAN_TARGET_FILE),)
 +GDB_TARGET := $(DEBIAN_TARGET_FILE)
 +endif
 +endif
 +
 +DEB_TARGET_ARCH	:= $(shell dpkg-architecture -f \
 +		     -a$(GDB_TARGET) -qDEB_HOST_ARCH 2>/dev/null)
 +DEB_TARGET_GNU_TYPE := $(shell dpkg-architecture -f \
 +			 -a$(DEB_TARGET_ARCH) -qDEB_HOST_GNU_TYPE 2>/dev/null)
 +DEB_TARGET_ALIAS ?= $(DEB_TARGET_GNU_TYPE)
 +
 +ifneq ($(GDB_TARGET),)
 +DEB_CONFIGURE_GDB_DATADIR := "\$${prefix}/share/gdb-$(DEB_TARGET_GNU_TYPE)"
 +DEB_CONFIGURE_PATH_ARGS += --with-gdb-datadir=$(DEB_CONFIGURE_GDB_DATADIR)
 +endif
 +
 +ifeq ($(DEB_TARGET_ARCH),)
 +$(error GDB_TARGET value "$(GDB_TARGET)" is not a valid Debian architecture)
 +endif
 +
 +ifdef GDB_TARGET
 +  DEB_CROSS = yes
 +  # TP: Target Prefix. Used primarily as a prefix for cross tool
 +  #     names (e.g. powerpc-linux-gcc).
 +  # TS: Target Suffix. Used primarily at the end of cross compiler
 +  #     package names (e.g. gcc-powerpc).
 +  TP = $(DEB_TARGET_ALIAS)-
 +  TS = -$(DEB_TARGET_ALIAS)
 +  CROSS_FORCE = FORCE
 +else
 +ifneq (,$(filter $(DEB_HOST_ARCH),i386 powerpc sparc s390))
 +  build64 = yes
 +  CC64 = gcc -m64
 +  CFLAGS64 = $(CFLAGS)
 +  BUILDDIR64 = $(ALL_BUILDDIR)/objdir64
 +  ifeq ($(DEB_HOST_ARCH),i386)
 +    HOST64 = x86_64-linux-gnu
 +  endif
 +  ifeq ($(DEB_HOST_ARCH),powerpc)
 +    HOST64 = powerpc64-linux-gnu
 +  endif
 +  ifeq ($(DEB_HOST_ARCH),sparc)
 +    HOST64 = sparc64-linux-gnu
 +  endif
 +  ifeq ($(DEB_HOST_ARCH),s390)
 +    HOST64 = s390x-linux-gnu
 +  endif
 +endif
 +endif
 +
 +BUILDDIRMULTIARCH = $(ALL_BUILDDIR)/objdir-multiarch
 +
 +run_tests := yes
 +
 +ifneq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
 +  run_tests := no
 +endif
 +
 +ifeq (,$(findstring linux, $(DEB_HOST_GNU_SYSTEM)))
 +  run_tests := no
 +endif
 +
 +ifeq ($(DEB_HOST_GNU_CPU),ia64)
 +  arch_config_args := --with-libunwind
 +endif
 +
 +ifdef GDB_TARGET
 +  run_tests := no
 +
 +  arch_config_args += --program-prefix=$(TP) \
 +    --target=$(DEB_TARGET_ALIAS) --with-sysroot=/usr/$(DEB_TARGET_ALIAS)
 +else
 +  # To avoid file conflicts, only enable the global gdbinit file for native
 +  # debuggers.
 +  arch_config_args += --with-system-gdbinit=/etc/gdb/gdbinit
 +endif
 +
 +INSTALL = $(install)
 +export INSTALL
 +
 +# We pass srcdir explicitly to avoid an extra '/.' at the end of it.  That
 +# causes a harmless, but ugly, testsuite failure in maint.exp.
 +EXTRA_FLAGS := --disable-gdbtk --disable-shared \
 +	--srcdir=$(shell pwd) --with-system-readline \
 +	$(arch_config_args) --build=$(DEB_BUILD_GNU_TYPE)
 +
 +# Debian does not include 64-bit expat packages yet, so --with-expat
 +# is here rather than in EXTRA_FLAGS.  Similarly Python.
 +DEB_CONFIGURE_EXTRA_FLAGS := --host=$(DEB_HOST_GNU_TYPE) $(EXTRA_FLAGS) \
 +	--enable-tui --with-expat --with-python
 +
 +# 64-bit flags
 +DEB_CONFIGURE_FLAGS_64 := --host=$(HOST64) $(EXTRA_FLAGS) \
 +	--enable-tui
 +
 +# multiarch targets; this is taken from the binutils-multiarch package but
 +# doesn't seem like a terribly nice list; see
 +# <20110117211551.GA7216 at bee.dooz.org> for discussion -- locally updated
 +#MULTIARCH_TARGETS := \
 +#	alpha-linux-gnu \
 +#	arm-linux-gnu \
 +#	arm-linux-gnueabi \
 +#	arm-linux-gnueabihf \
 +#	hppa-linux-gnu \
 +#	i686-linux-gnu \
 +#	ia64-linux-gnu \
 +#	m68k-linux-gnu \
 +#	m68k-rtems \
 +#	mips-linux-gnu \
 +#	mipsel-linux-gnu \
 +#	mips64-linux-gnu \
 +#	mips64el-linux-gnu \
 +#	powerpc-linux-gnu \
 +#	powerpcspe-linux-gnu \
 +#	ppc64-linux-gnu \
 +#	s390-linux-gnu \
 +#	s390x-linux-gnu \
 +#	sh-linux-gnu \
 +#	sh64-linux-gnu \
 +#	sparc-linux-gnu \
 +#	sparc64-linux-gnu \
 +#	x86_64-linux-gnu \
 +#	m32r-linux-gnu \
 +#	spu
 +#	--enable-targets=`set -- $(MULTIARCH_TARGETS); IFS=,; echo "$$*"`
 +MULTIARCH_TARGETS := all
 +# multiarch flags
 +DEB_CONFIGURE_FLAGS_MULTIARCH := $(DEB_CONFIGURE_EXTRA_FLAGS) \
++	--enable-64-bit-bfd \
 +	--enable-targets=$(MULTIARCH_TARGETS) \
 +	--disable-sim
 +
 +# Minimal flags
 +DEB_CONFIGURE_FLAGS_MIN := --host=$(DEB_HOST_GNU_TYPE) $(EXTRA_FLAGS) \
 +	--disable-tui --without-expat --without-python
 +
 +# Support parallel=<n> in DEB_BUILD_OPTIONS (see #209008)
 +COMMA = ,
 +ifneq (,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS))))
 +  NJOBS := -j $(subst parallel=,,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS))))
 +endif
 +
 +DEB_MAKE_BUILD_TARGET = $(NJOBS) all
 +distribution := $(shell lsb_release -is | tr A-Z a-z)
 +
 +BUILDDIRSOURCE := $(ALL_BUILDDIR)/gdb
 +BUILDDIRMIN := $(ALL_BUILDDIR)/gdb-minimal
 +
 +post-patches::
 +	if ! test -f gdb/version.in.backup; then \
 +	  mv -f gdb/version.in gdb/version.in.backup; \
 +	  sed -e 's/$$/-$(distribution)/' < gdb/version.in.backup > gdb/version.in; \
 +	fi
 +
 +# This should probably be common-post-build-arch, but that runs during
 +# install, under fakeroot, in CDBS 0.4.21.
 +build/gdb$(TS):: check-stamp
 +	$(MAKE) -C $(DEB_BUILDDIR) info
 +	$(MAKE) -C $(DEB_BUILDDIR)/gdb/doc refcard.dvi refcard.ps
 +
 +build/gdb64:: build64-stamp
 +build64-stamp:
 +	mkdir -p $(BUILDDIR64)
 +	cd $(BUILDDIR64) && CC="$(CC64)" CFLAGS="$(CFLAGS64)" AR=ar \
 +	  $(shell pwd)/configure $(DEB_CONFIGURE_FLAGS_64)
 +	cd $(BUILDDIR64) && $(DEB_MAKE_ENVVARS) $(MAKE) $(NJOBS)
 +	touch $@
 +
 +build/gdb-multiarch:: build-multiarch-stamp
 +build-multiarch-stamp:
 +	mkdir -p $(BUILDDIRMULTIARCH)
 +	cd $(BUILDDIRMULTIARCH) && \
 +	  $(shell pwd)/configure $(DEB_CONFIGURE_FLAGS_MULTIARCH)
 +	cd $(BUILDDIRMULTIARCH) && $(DEB_MAKE_ENVVARS) $(MAKE) $(NJOBS)
 +	touch $@
 +
 +build/gdb-minimal:: build-minimal-stamp
 +build-minimal-stamp:
 +	mkdir -p $(BUILDDIRMIN)
 +	cd $(BUILDDIRMIN) && \
 +	  $(shell pwd)/configure $(DEB_CONFIGURE_FLAGS_MIN)
 +	cd $(BUILDDIRMIN) && $(DEB_MAKE_ENVVARS) $(MAKE) $(NJOBS)
 +	touch $@
 +
 +check-stamp:
 +ifeq ($(run_tests),yes)
 +	-ulimit -c unlimited; \
 +	$(MAKE) $(NJOBS) -C $(DEB_BUILDDIR)/gdb check
 +endif
 +	touch $@
 +
 +clean::
 +	rm -f check-stamp build64-stamp build-multiarch-stamp
 +	rm -rf $(ALL_BUILDDIR)
 +
 +	if test -f gdb/version.in.backup; then \
 +	  mv -f gdb/version.in.backup gdb/version.in; \
 +	fi
 +
 +#	# For snapshots this is appropriate; careful of release tarballs
 +#	# which include .gmo files.
 +#	find -type f -name '*.gmo' | xargs rm -f
 +
 +	# Prevent gratuitous rebuilds of the BFD documentation, since it
 +	# updates the copy in the source directory.
 +	find bfd -name bfd.info\* | xargs --no-run-if-empty touch
 +
 +binary-post-install/gdb$(TS) ::
 +	if [ -x debian/tmp/usr/bin/run ]; then				\
 +		mv debian/tmp/usr/bin/run					\
 +		  debian/gdb$(TS)/usr/bin/$(DEB_TARGET_ALIAS)-run;		\
 +		mv debian/tmp/usr/share/man/man1/run.1			\
 +		  debian/gdb$(TS)/usr/share/man/man1/$(DEB_TARGET_ALIAS)-run.1;	\
 +	fi
 +ifeq ($(run_tests),yes)
 +	install -d debian/gdb$(TS)/usr/share/doc/gdb
 +	install -m 644 $(DEB_BUILDDIR)/gdb/testsuite/gdb.sum \
 +		debian/gdb$(TS)/usr/share/doc/gdb/check.log
 +endif
 +
 +ifneq ($(DEB_CROSS),yes)
 +	# Gcore is only useful for native GDB.
 +	$(INSTALL) -m 755 -o root -g root \
 +		gdb/gdb_gcore.sh debian/gdb$(TS)/usr/bin/$(TP)gcore
 +
 +	# Only ship a global gdbinit for the native GDB.
 +	install -d debian/gdb$(TS)/etc/gdb
 +	install -m 644 debian/gdbinit debian/gdb$(TS)/etc/gdb/
 +endif
 +
 +	rm -f debian/gdb$(TS)/usr/bin/$(TP)gdbtui
 +	install -m 755 debian/gdbtui debian/gdb$(TS)/usr/bin/$(TP)gdbtui
 +
 +binary-post-install/gdb64 ::
 +	install -d debian/gdb64/usr/bin
 +	install -s -m 755 $(BUILDDIR64)/gdb/gdb debian/gdb64/usr/bin/gdb64
- 	dh_link -pgdb64 usr/share/man/man1/gdb.1 usr/share/man/man1/gdb64.1
++	dh_link -pgdb64 usr/share/man/man1/gdb.1.gz usr/share/man/man1/gdb64.1.gz
 +	rm -rf debian/gdb64/usr/share/doc/gdb64
 +	ln -s gdb debian/gdb64/usr/share/doc/gdb64
 +
 +binary-post-install/gdb-multiarch ::
 +	install -d debian/gdb-multiarch/usr/bin
 +	install -s -m 755 $(BUILDDIRMULTIARCH)/gdb/gdb debian/gdb-multiarch/usr/bin/gdb-multiarch
- 	dh_link -pgdb-multiarch usr/share/man/man1/gdb.1.gz usr/share/man/man1/gdb64.1.gz
++	dh_link -pgdb-multiarch usr/share/man/man1/gdb.1.gz usr/share/man/man1/gdb-multiarch.1.gz
 +	rm -rf debian/gdb-multiarch/usr/share/doc/gdb-multiarch
 +	ln -s gdb debian/gdb-multiarch/usr/share/doc/gdb-multiarch
 +
 +binary-post-install/gdb-minimal ::
 +	install -d debian/gdb-minimal/usr/bin
 +	$(INSTALL) -m 755 -o root -g root \
 +		$(BUILDDIRMIN)/gdb/gdb debian/gdb-minimal/usr/bin/gdb
 +
 +	$(INSTALL) -m 755 -o root -g root \
 +		gdb/gdb_gcore.sh debian/gdb-minimal/usr/bin/gcore
 +
 +	# Only ship a global gdbinit for the native GDB.
 +	install -d debian/gdb-minimal/etc/gdb
 +	install -m 644 debian/gdbinit debian/gdb-minimal/etc/gdb/
 +
- binary-post-install/libgdb-dev ::
- 	if test -e $(DEB_BUILDDIR)/sim/*/libsim.a; then \
- 	  install -m 644 $(DEB_BUILDDIR)/sim/*/libsim.a debian/libgdb-dev/usr/lib/; \
- 	fi
- 	rm -rf debian/libgdb-dev/usr/share/doc/libgdb-dev
- 	ln -s gdb debian/libgdb-dev/usr/share/doc/libgdb-dev
- 
 +binary-post-install/gdb-source ::
 +	install -d debian/gdb-source/usr/src
 +	mkdir -p $(BUILDDIRSOURCE)
 +	tar --exclude build -cf - . | (cd $(BUILDDIRSOURCE) && tar -xf -)
 +	cd $(BUILDDIRSOURCE) && debian/rules clean
 +	cd $(dir $(BUILDDIRSOURCE)) \
 +	  && tar -cjf $(shell pwd)/debian/gdb-source/usr/src/gdb.tar.bz2 \
 +	     $(notdir $(BUILDDIRSOURCE))
- 	rm -rf debian/gdb-source/usr/share/doc/gdb-source
- 	ln -s gdb debian/gdb-source/usr/share/doc/gdb-source
 +
 +debian/control:: debian/control.in $(CROSS_FORCE)
 +	cat debian/control.in \
 +		| sed "s/@TS@/$(TS)/g" \
 +		> debian/control
 +ifeq ($(DEB_CROSS),yes)
 +	sed -i "/Package: gdb64/,\$$ d" -i "/Package: gdb-multiarch/,\$$ d" debian/control
 +	sed "s+/gdb+/$(TP)gdb+g; s+usr/share/$(TP)gdb+usr/share/gdb$(TS)+g" \
 +		debian/gdb.install > debian/gdb$(TS).install
 +endif
 +
 +# The default changelog is the top level one, which is useless.
 +DEB_INSTALL_CHANGELOGS_ALL =
 +
 +DEB_INSTALL_DOCS_gdb$(TS) = gdb/NEWS gdb/README gdb/doc/refcard.tex \
 +	$(DEB_BUILDDIR)/gdb/doc/refcard.dvi \
 +	$(DEB_BUILDDIR)/gdb/doc/refcard.ps
 +DEB_INSTALL_CHANGELOGS_gdb$(TS) = gdb/ChangeLog
 +ifneq ($(DEB_CROSS),yes)
 +DEB_INSTALL_MANPAGES_gdb$(TS) = debian/gcore.1
 +endif
 +
 +DEB_INSTALL_DOCS_gdbserver = gdb/gdbserver/README
- DEB_INSTALL_CHANGELOGS_gdbserver = -XChangeLog
++DEB_INSTALL_CHANGELOGS_gdbserver = gdb/gdbserver/ChangeLog
 +
 +DEB_INSTALL_DOCS_gdb-minimal = $(DEB_INSTALL_DOCS_gdb$(TS))
 +DEB_INSTALL_CHANGELOGS_gdb-minimal = -XChangeLog
 +
 +.PHONY: FORCE
 +FORCE:
diff --combined debian/sanitize-gdb.sh
index 0154b7c,0000000..a65f125
mode 100644,000000..100644
--- a/debian/sanitize-gdb.sh
+++ b/debian/sanitize-gdb.sh
@@@ -1,93 -1,0 +1,100 @@@
- #!/bin/sh
++#!/bin/bash
 +
 +set -e
 +
 +tarball=$1
 +if ! test -f "$tarball"; then
 +  echo "Could not open $tarball"
 +  exit 1
 +fi
 +
 +tardir=$(dirname "$tarball")
 +tardir=$(cd "$tardir" && pwd)
 +version=$(basename "$tarball" | sed "s/^gdb-//; s/\.tar\.bz2\$//")
 +debversion=${version}
 +tarball="$tardir"/gdb-$version.tar.bz2
 +dfsg="$tardir/gdb_$debversion.orig.tar.gz"
 +doc="$tardir/gdb-doc_$version.orig.tar.gz"
 +
 +dir=`cd $(dirname "$0") && pwd`
 +
 +temp=$(mktemp -d)
 +olddir=`pwd`
 +
 +cd "$temp"
 +mkdir src
 +cd src
 +tar xjf "$tarball"
 +cd ..
 +
 +src=src/gdb-$version
 +dest=gdb-$debversion
 +dest2=gdb-doc-$version
 +
 +if ! test -d "$src"; then
 +  echo "Could not find source directory $src"
 +  exit 1
 +fi
 +
 +if test -z "$dest" || test -e "$dest"; then
 +  echo "Could not create dest directory $dest"
 +  exit 1
 +fi
 +
 +if test -z "$dest2" || test -e "$dest2"; then
 +  echo "Could not create dest directory $dest2"
 +  exit 1
 +fi
 +
 +src=`cd "$src" && pwd`
 +
 +cp -a "$src" "$dest"
 +pushd "$dest" > /dev/null
 +
 +# The GDB manual pages are not covered by the GFDL, but the simulator's
 +# is.
 +echo > sim/common/run.1
 +
 +# Almost all of the texinfo documentation is GFDL.  PSIM's is not, but
 +# we don't need that manual especially anyway.  Special care must be taken
 +# with observer.texi, which is necessary for the build process.  Remove
 +# all pregenerated info files, then replace all texinfo files with dummy
 +# versions.
 +
 +rm -f $(find . \( -name \*.info -o -name \*.info-\* \))
 +
 +for f in $(find . \( -name \*.texinfo -o -name \*.texi \)); do
 +  if test $(basename $f) = observer.texi; then
 +    sed -ne '/@c This/,/@c any later/p; /@deftype/p' "$src/$f" > $f
 +    continue
 +  fi
 +
 +  echo > "$f"
 +done
 +
 +popd > /dev/null
 +mkdir "$dest2"
 +mkdir "$dest2"/readline
 +cp -a "$src"/readline/doc "$dest2"/readline/doc
 +mkdir "$dest2"/gdb
 +cp -a "$src"/gdb/doc "$dest2"/gdb/doc
++cp -a "$src"/config "$dest2"/config
 +
 +# Supporting files.
++cp -a "$src"/COPYING* "$dest2/"
++cp -a "$src"/ChangeLog "$dest2/"
++cp -a "$src"/MAINTAINERS "$dest2/"
++cp -a "$src"/README* "$dest2/"
 +cp -a "$src"/config.guess "$dest2/"
 +cp -a "$src"/config.sub "$dest2/"
 +cp -a "$src"/install-sh "$dest2/"
 +cp -a "$src"/mkinstalldirs "$dest2/"
++cp -a "$src"/gdb/.gitignore "$dest2"/gdb/
 +cp -a "$src"/gdb/version.in "$dest2"/gdb/
++cp -a "$src"/readline/[A-Z]* "$dest2"/readline/
 +
 +tar czf "$dfsg" gdb-$debversion
 +tar czf "$doc" gdb-doc-$version
 +
 +cd "$olddir"
 +rm -rf $temp
diff --combined debian/source/lintian-overrides
index 8f2fb7f,0000000..cf3f5c4
mode 100644,000000..100644
--- a/debian/source/lintian-overrides
+++ b/debian/source/lintian-overrides
@@@ -1,3 -1,0 +1,3 @@@
 +# We do not use the included readline.
- gdb source: outdated-autotools-helper-file readline/support/config.guess 2004-02-16
- gdb source: outdated-autotools-helper-file readline/support/config.sub 2004-02-16
++gdb source: outdated-autotools-helper-file readline/support/config.guess *
++gdb source: outdated-autotools-helper-file readline/support/config.sub *

-- 
GNU GDB Debian packaging repository



More information about the Crosstoolchain-logs mailing list