debian/0000755000000000000000000000000012145415236007171 5ustar debian/patchlist0000644000000000000000000000014712145415047011111 0ustar ../msp430-gdb-7.2a-20111205.patch ./lts-patch/gdb-bfd_texinfo.patch ./lts-patch/gdb-memory_bstat.patch debian/changelog0000644000000000000000000000177712145415236011057 0ustar gdb-msp430 (7.2a~mspgcc-20111205-2) unstable; urgency=medium * Update dependency to use libunwind8 (Closes: #707249) * Use an embedded copy of gdb 7.2a source (Closes: #696399) * FIx built failure with gcc-4.8 (Closes: #701283) * Move to section devel (Closes: 645458) -- Luca Bruno Thu, 16 May 2013 16:37:15 +0200 gdb-msp430 (7.2a~mspgcc-20111205-1) unstable; urgency=low * New upstream release -- Luca Bruno Sun, 20 May 2012 09:31:55 +0200 gdb-msp430 (7.2~mspgcc-7.2-20110612-1) unstable; urgency=low * New upstream release + First official mspgcc tarball -- Luca Bruno Mon, 13 Jun 2011 14:54:56 +0200 gdb-msp430 (7.2~msp20110421-1) unstable; urgency=low * Upload to Debian Unstable -- Luca Bruno Tue, 31 May 2011 12:08:57 +0200 gdb-msp430 (7.2~msp20110421-0exp1) experimental; urgency=low * Initial upload to Debian (Closes: #510101)) -- Luca Bruno Fri, 22 Apr 2011 18:46:11 +0200 debian/compat0000644000000000000000000000000211575404176010376 0ustar 5 debian/README.Debian0000644000000000000000000000044311575404176011242 0ustar To make it possible to have different versions of gdb packages installed for different targets the local and most common documentation have been removed from the cross packages. If you want these files aswell you'll have to install the same version of the native package as of this package. debian/control0000644000000000000000000000177212145170202010572 0ustar Source: gdb-msp430 Section: devel Priority: extra Maintainer: Luca Bruno Standards-Version: 3.9.2 Build-Depends: autoconf (>= 2.13), bison, flex, gettext, texinfo, binutils (>= 2.9.5.0.12), gcc (>= 2.95.2), debhelper (>= 5), tar (>= 1.13.18), bzip2, findutils(>=4.2.31), libncursesw5-dev, libreadline-dev, libunwind8-dev, libexpat1-dev, zlib1g-dev, binutils-msp430 (>= 2.21~) Package: gdb-msp430 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, binutils-msp430 (>= 2.21~) Description: The GNU debugger for MSP430 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. This package is primarily for MSP430 developers and cross-compilers and is not needed by normal users or developers. . This package has been compiled to target the TI's MSP430 architecture. debian/lts-patch/0000755000000000000000000000000012145417264011073 5ustar debian/lts-patch/gdb-bfd_texinfo.patch0000644000000000000000000000431512145417264015140 0ustar commit 60e557d6899460047245a011199072d51b868ae1 Author: Nick Clifton Date: Mon Jan 7 12:11:12 2013 +0000 * ld.texinfo: Replace @ with @@ when it is part of the text. Correct ordering of M68HC11 entry. * doc/binutils.texi: Fix ordering of top level nodes. Replace erroneous uses of @itemx with @item. * bfd.texinfo: Replace @ with @@ when it is part of the text. diff --git a/bfd/doc/bfd.texinfo b/bfd/doc/bfd.texinfo index 45ffa73..3aa3300 100644 --- a/bfd/doc/bfd.texinfo +++ b/bfd/doc/bfd.texinfo @@ -1,7 +1,7 @@ \input texinfo.tex @setfilename bfd.info @c Copyright 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1997, 2000, -@c 2001, 2002, 2003, 2006, 2007, 2008, 2009 +@c 2001, 2002, 2003, 2006, 2007, 2008, 2009, 2013 @c Free Software Foundation, Inc. @c @synindex fn cp @@ -16,7 +16,8 @@ @copying This file documents the BFD library. -Copyright @copyright{} 1991, 2000, 2001, 2003, 2006, 2007, 2008 Free Software Foundation, Inc. +Copyright @copyright{} 1991, 2000, 2001, 2003, 2006, 2007, 2008, 2013 +Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or @@ -64,7 +65,8 @@ included in the section entitled ``GNU Free Documentation License''. @end tex @vskip 0pt plus 1filll -Copyright @copyright{} 1991, 2001, 2003, 2006, 2008 Free Software Foundation, Inc. +Copyright @copyright{} 1991, 2001, 2003, 2006, 2008, 2013 +Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 @@ -322,7 +324,7 @@ All of BFD lives in one directory. @printindex cp @tex -% I think something like @colophon should be in texinfo. In the +% I think something like @@colophon should be in texinfo. In the % meantime: \long\def\colophon{\hbox to0pt{}\vfill \centerline{The body of this manual is set in} @@ -333,7 +335,7 @@ All of BFD lives in one directory. \centerline{{\sl\fontname\tensl\/}} \centerline{are used for emphasis.}\vfill} \page\colophon -% Blame: doc@cygnus.com, 28mar91. +% Blame: doc@@cygnus.com, 28mar91. @end tex @bye debian/lts-patch/gdb-memory_bstat.patch0000644000000000000000000000171212145417243015351 0ustar From 7f62f13c2b535c6a23035407f1c8a36ad7993dec Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 28 Apr 2011 20:36:49 +0000 Subject: [PATCH] * bfdio.c (memory_bstat): Pass correct size to memset. --- bfd/bfdio.c | 4 ++-- diff --git a/bfd/bfdio.c b/bfd/bfdio.c index ce92781..dab8e88 100644 --- a/bfd/bfdio.c +++ b/bfd/bfdio.c @@ -1,7 +1,7 @@ /* Low-level I/O routines for BFDs. Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, - 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 + 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2011 Free Software Foundation, Inc. Written by Cygnus Support. @@ -577,7 +577,7 @@ memory_bstat (bfd *abfd, struct stat *statbuf) { struct bfd_in_memory *bim = (struct bfd_in_memory *) abfd->iostream; - memset (statbuf, 0, sizeof (statbuf)); + memset (statbuf, 0, sizeof (*statbuf)); statbuf->st_size = bim->size; return 0; debian/dirs0000644000000000000000000000002411575404176010060 0ustar usr/bin usr/lib debian/copyright0000644000000000000000000000422311575404176011134 0ustar This is the debian package of the GNU debugger compiled for cross development for the msp430 processor. It was created by Luca Bruno from a patchset distributed by the mspgcc project and applied to the original gdb source packages. msp430 original changes are available through git http://mspgcc.git.sourceforge.net/git/gitweb-index.cgi Original gdb is available via the gdb-source package or at http://ftp.gnu.org/gnu/gdb mspgcc patches follow binutils original copyright, as declared by the author clarifying the license of the patch-set: http://thread.gmane.org/gmane.comp.hardware.texas-instruments.msp430.gcc.user/9161 """ From: Peter Bigot Subject: copyright on upstream patches Date: Sun, 30 Jan 2011 18:30:34 -0600 In all the excitement of getting the new version out, I forgot I'd been asked to provide a header on the patch files that apply to the upstream distributions (binutils, gcc, gdb) explicitly noting that the material therein was copyright Free Software Foundation and subject to licensing restrictions of the upstream distribution (presumably GPL). This is consistent with everything I've been able to find in the source repositories from CVS onward. """ GNU Binutils is Copyright © 2010, Free Software Foundation, Inc. The entire package is distributed under 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, write to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. debian/source/0000755000000000000000000000000011575404406010474 5ustar debian/source/format0000644000000000000000000000001411575404406011702 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000362411756117075010265 0ustar #!/usr/bin/make -f PACKAGE=gdb-msp430 TARGET=msp430 CONFARGS = \ --prefix=/usr \ --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) \ --target=$(TARGET)\ --mandir='\$${prefix}/share/man' \ --infodir='\$${prefix}/share/info' \ --disable-texinfo BUILD_TREE = $(shell find . -maxdepth 1 -mindepth 1 -type d -name 'gdb*') DEB_GDB = . # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 unpack: unpack-stamp unpack-stamp: tar xaf $(DEB_GDB)/gdb*.tar.* touch unpack-stamp patch-stamp: unpack-stamp cd $(BUILD_TREE) && \ for upstreamp in `grep -v '^#' $(CURDIR)/debian/patchlist`; \ do echo; echo Applying patch $$upstreamp; \ patch -p1 < $(CURDIR)/debian/$$upstreamp; done touch patch-stamp configure: configure-stamp configure-stamp: patch-stamp dh_testdir cd $(BUILD_TREE) && ./configure $(CONFARGS) $(MAKE) $(MAKEFLAGS) -C $(BUILD_TREE) touch configure-stamp build: build-stamp build-stamp: configure-stamp dh_testdir $(MAKE) $(MAKEFLAGS) -C $(BUILD_TREE) touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp unpack-stamp patch-stamp rm -rf $(BUILD_TREE) dh_clean install: build dh_testdir dh_testroot dh_clean -k dh_installdirs cd $(BUILD_TREE) && \ $(MAKE) install prefix=$(CURDIR)/debian/$(PACKAGE)/usr # Remove conflicting and empty files rm -rf debian/$(PACKAGE)/usr/share/gdb/syscalls rm -rf debian/$(PACKAGE)/usr/share/locale rm -rf debian/$(PACKAGE)/usr/share/info rm -rf debian/$(PACKAGE)/usr/lib/*iberty* binary-indep: install binary-arch: install dh_testdir dh_testroot dh_installdocs -n dh_installman dh_installchangelogs RELEASES.TXT dh_link dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install configure