gdb-mingw-w64-7/0000755000000000000000000000000012163574247010414 5ustar gdb-mingw-w64-7/debian/0000755000000000000000000000000012163574226011633 5ustar gdb-mingw-w64-7/debian/changelog0000644000000000000000000000522012163574226013504 0ustar gdb-mingw-w64 (7) unstable; urgency=low * Drop unused, target-specific build-dependencies (in particular libunwind7-dev to help the libunwind transition). -- Stephen Kitt Sat, 29 Jun 2013 17:09:06 +0200 gdb-mingw-w64 (6) unstable; urgency=low * gdb no longer builds gdbtui, so stop trying to install it. * Switch to my Debian address. * Drop "DM-Upload-Allowed". * Use canonical VCS URIs. * Standards-Version 3.9.4, no change required. -- Stephen Kitt Sun, 09 Jun 2013 13:27:29 +0200 gdb-mingw-w64 (5) unstable; urgency=low * Drop gdb-spelling-fixes.patch completely now that 7.4 is in Debian; build-depend on gdb-source 7.4 or later. * Use "-a" and "-i" instead of listing architecture-dependent and -independent packages explicitly. * Standards-Version 3.9.3, no change required. * wrap-and-sort control files. * Export dpkg-buildflags' settings when building as well as configuring so the fortified functions end up being used correctly. * Build-depend on gcc-mingw-w64 rather than mingw-w64, we only need a C compiler. * Update debian/copyright format URL and years. -- Stephen Kitt Thu, 24 May 2012 23:23:45 +0200 gdb-mingw-w64 (4) unstable; urgency=low * gdb-spelling-fixes.patch is applied upstream in version 7.4, so avoid failing if the patch is already applied (LP: #935097). -- Stephen Kitt Sat, 18 Feb 2012 22:56:24 +0100 gdb-mingw-w64 (3) unstable; urgency=low [ Stephen Kitt ] * Disable stackprotector, relro, bindnow and pie dpkg-buildflags hardening features for Windows-targeted builds (LP: #891102). [ Didier Raboud ] * Confidently setting the DM-Upload-Allowed flag to yes. -- Stephen Kitt Tue, 22 Nov 2011 18:06:28 +0100 gdb-mingw-w64 (2) unstable; urgency=low * Make the build target only depend on build-arch, so that the build target no longer requires Build-Depends-Indep dependencies; the binary target still does the right thing so the "Architecture: all" package can be built. -- Stephen Kitt Thu, 29 Sep 2011 00:07:05 +0200 gdb-mingw-w64 (1) unstable; urgency=low * Split off "Architecture: all" package. * Switch to single-number versions and add the gdb-mingw-w64 version to the resulting binary package's version. * Refresh gdb-spelling-fixes.patch (Closes: #643556); build-depend on gdb-source 7.3 or later as a result. -- Stephen Kitt Tue, 27 Sep 2011 23:36:02 +0200 gdb-mingw-w64 (0.1) unstable; urgency=low * Initial release (Closes: #570255, #626588). -- Stephen Kitt Thu, 12 May 2011 20:48:48 +0200 gdb-mingw-w64-7/debian/gdb-mingw-w64-target.install0000644000000000000000000000016011757344573017005 0ustar build-gdbserver/i686-w64-mingw32/*.exe usr/share/win32 build-gdbserver/x86_64-w64-mingw32/*.exe usr/share/win64 gdb-mingw-w64-7/debian/compat0000644000000000000000000000000211457126470013030 0ustar 7 gdb-mingw-w64-7/debian/gdb-mingw-w64.install0000644000000000000000000000022212155031541015475 0ustar usr/bin/i686-w64-mingw32-gdb usr/bin/x86_64-w64-mingw32-gdb usr/share/man/man1/i686-w64-mingw32-gdb.1 usr/share/man/man1/x86_64-w64-mingw32-gdb.1 gdb-mingw-w64-7/debian/copyright0000644000000000000000000000504211757523231013565 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: gdb Source: http://www.gnu.org/software/gdb/ Comment: This package uses gdb-source, so the copyright and licensing information below describes both the contents of gdb-source and the Debian packaging in this package. Files: * Copyright: 1986-2012 Free Software Foundation, Inc. License: GPL-3+ Files: gdb/doc/observer.texi Copyright: 2003-2006, 2008-2012 Free Software Foundation, Inc. License: GPL-3+ Comment: This file is normally distributed under the GNU Free Documentation License, but certain lines from it are also permitted to be distributed under the GPL. Only those lines are included in this package. Files: gdb/exc_request.defs Copyright: 1987-1993 Carnegie Mellon University License: Mach OS Permission to use, copy, modify and distribute this software and its documentation is hereby granted, provided that both the copyright notice and this permission notice appear in all copies of the software, derivative works or modified versions, and any portions thereof, and that both notices appear in supporting documentation. . CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. . Carnegie Mellon requests users of this software to return to . Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU School of Computer Science Carnegie Mellon University Pittsburgh PA 15213-3890 . any improvements or extensions that they make and grant Carnegie Mellon the rights to redistribute these changes. Files: debian/* Copyright: 2001-2010 Daniel Jacobowitz 2010-2012 Stephen Kitt License: GPL-3+ License: GPL-3+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian GNU/Linux systems, the complete text of the GNU General Public License, version 3, can be found in `/usr/share/common-licenses/GPL-3'. gdb-mingw-w64-7/debian/source/0000755000000000000000000000000011572250656013134 5ustar gdb-mingw-w64-7/debian/source/format0000644000000000000000000000001511476706541014345 0ustar 3.0 (native) gdb-mingw-w64-7/debian/control0000644000000000000000000000344512155714407013242 0ustar Source: gdb-mingw-w64 Section: devel Priority: extra Maintainer: Stephen Kitt Build-Depends: autoconf, automake, bison, debhelper (>= 7.0.50~), expect, flex, gdb-source (>= 7.4), libcloog-ppl-dev, libexpat1-dev, libncurses5-dev, libreadline-dev, m4, python-dev, texinfo Build-Depends-Indep: gcc-mingw-w64 Standards-Version: 3.9.4 Homepage: http://www.gnu.org/software/gdb/ Vcs-Git: git://anonscm.debian.org/collab-maint/gdb-mingw-w64.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/gdb-mingw-w64.git;a=summary Package: gdb-mingw-w64 Architecture: any Depends: gdb (>= ${local:Version}), ${misc:Depends}, ${shlibs:Depends} Recommends: gdb-mingw-w64-target Built-Using: gdb (= ${gdb:Version}) Description: Cross-debugger for Win32 and Win64 using MinGW-w64 MinGW-w64 provides a development and runtime environment for 32- and 64-bit Windows applications using the GNU Compiler Collection (gcc). . This package contains the gdb debugger which can be used with a Windows-hosted gdbserver to debug programs running on Windows hosts. . The gdb-mingw-w64-target package contains gdbserver and gdbreplay for 32- and 64-bit Windows. Package: gdb-mingw-w64-target Architecture: all Depends: ${misc:Depends} Replaces: gdb-mingw-w64 (<< 7.3) Breaks: gdb-mingw-w64 (<< 7.3) Built-Using: gdb (= ${gdb:Version}) Description: Cross-debugger server for Win32 and Win64 using MinGW-w64 MinGW-w64 provides a development and runtime environment for 32- and 64-bit Windows applications using the GNU Compiler Collection (gcc). . This package contains gdbserver and gdbreplay for 32- and 64-bit Windows. gdb-mingw-w64-7/debian/rules0000755000000000000000000000756311757510307012724 0ustar #!/usr/bin/make -f # -*- makefile -*- # Copyright © 2010-2011 Stephen Kitt # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 top_dir := $(shell pwd) gdb_dir := /usr/src upstream_gdb_dir := $(top_dir)/upstream upstream_gdbserver_dir := $(upstream_gdb_dir)/gdb/gdbserver build_gdb_dir := $(top_dir)/build-gdb build_gdbserver_dir := $(top_dir)/build-gdbserver source_version := $(shell dpkg-query -W -f="\$${Version}\n" gdb-source) deb_version := $(source_version)+$(shell dpkg-parsechangelog | sed -ne "s/^Version: \(.*\)/\1/p") deb_upstream_version := $(shell echo $(deb_version) | cut -d- -f1) gnu_upstream_version := $(shell echo $(deb_upstream_version) | cut -d. -f1-3) package := gdb-mingw-w64 targets := i686-w64-mingw32 x86_64-w64-mingw32 # Default hardening for Debian-targeted builds dpkg_buildflags_arch = dpkg-buildflags # Windows targets don't support stackprotector, relro, bindnow or pie dpkg_buildflags_indep = DEB_BUILD_MAINT_OPTIONS="hardening=-stackprotector,-relro,-bindnow,-pie" dpkg-buildflags unpack: unpack-stamp unpack-stamp: tar xf $(gdb_dir)/gdb.tar.* rm -rf $(upstream_gdb_dir) mv gdb $(upstream_gdb_dir) touch $@ patch: patch-stamp patch-stamp: unpack-stamp # No patches for now touch $@ clean: dh_testdir dh_testroot rm -rf *-stamp $(build_gdb_dir) $(build_gdbserver_dir) $(upstream_gdb_dir) dh_clean configure-arch-stamp: patch-stamp dh_testdir set -e; \ for target in $(targets); do \ $(shell $(dpkg_buildflags_arch) --export=sh); \ dh_auto_configure -B$(build_gdb_dir)/$$target -D$(upstream_gdb_dir) -- \ --prefix=/usr --enable-lto --with-system-readline \ --enable-tui --with-expat --with-python \ --target=$$target; \ done touch $@ configure-indep-stamp: patch-stamp dh_testdir set -e; \ for target in $(targets); do \ $(shell $(dpkg_buildflags_indep) --export=sh); \ dh_auto_configure -B$(build_gdbserver_dir)/$$target \ -D$(upstream_gdbserver_dir) -- \ --host=$$target --target=$$target; \ done touch $@ # dpkg-buildpackage -B calls build rather than build-arch, # so have build only depend on build-arch build: build-arch build-arch: build-arch-stamp build-arch-stamp: configure-arch-stamp dh_testdir set -e; \ for target in $(targets); do \ $(shell $(dpkg_buildflags_arch) --export=sh); \ dh_auto_build --parallel -B$(build_gdb_dir)/$$target; \ done touch $@ build-indep: build-indep-stamp build-indep-stamp: configure-indep-stamp dh_testdir set -e; \ for target in $(targets); do \ $(shell $(dpkg_buildflags_indep) --export=sh); \ dh_auto_build --parallel -B$(build_gdbserver_dir)/$$target; \ done touch $@ install: install-stamp install-stamp: build-arch-stamp dh_testdir dh_testroot dh_prep set -e; \ for target in $(targets); do \ dh_auto_install -B$(build_gdb_dir)/$$target; \ done # Drop files which will conflict with other packages rm -rf debian/$(package)/usr/lib rm -rf debian/$(package)/usr/share/gdb rm -rf debian/$(package)/usr/share/info rm -rf debian/$(package)/usr/share/locale touch $@ binary-indep: build-indep dh_testdir -i dh_testroot -i dh_install -i dh_installdocs -i dh_installchangelogs -i $(upstream_gdb_dir)/ChangeLog dh_link -i dh_strip -i dh_lintian -i dh_compress -i dh_fixperms -i dh_installdeb -i dh_shlibdeps -i dh_gencontrol -i -- -v$(deb_version) -Vlocal:Version=$(deb_upstream_version) -Vgdb:Version=$(source_version) dh_md5sums -i dh_builddeb -i binary-arch: install dh_testdir -a dh_testroot -a dh_install -a dh_installdocs -a dh_installchangelogs -a $(upstream_gdb_dir)/ChangeLog dh_link -a dh_strip -a dh_lintian -a dh_compress -a dh_fixperms -a dh_installdeb -a dh_shlibdeps -a dh_gencontrol -a -- -v$(deb_version) -Vlocal:Version=$(deb_upstream_version) -Vgdb:Version=$(source_version) dh_md5sums -a dh_builddeb -a binary: binary-indep binary-arch .PHONY: binary-indep binary-arch binary clean build install