summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2004-03-05 04:53:24 +0000
committerLuca Barbato <lu_zero@gentoo.org>2004-03-05 04:53:24 +0000
commit1f7b908a5d4ee9f820688564e5d4417d05bcdf9e (patch)
treeacfdfd39fbaba9ff446cc8fe7445f3f0c5550383 /sys-devel
parentchanged 2.2.0 to unstable and 2.1.2 to stable (diff)
downloadhistorical-1f7b908a5d4ee9f820688564e5d4417d05bcdf9e.tar.gz
historical-1f7b908a5d4ee9f820688564e5d4417d05bcdf9e.tar.bz2
historical-1f7b908a5d4ee9f820688564e5d4417d05bcdf9e.zip
xfree module tracking support added
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/gdb/ChangeLog8
-rw-r--r--sys-devel/gdb/Manifest31
-rw-r--r--sys-devel/gdb/files/digest-gdb-6.0-r12
-rw-r--r--sys-devel/gdb/files/gdb-6.0-xfreemod-all.patch35
-rw-r--r--sys-devel/gdb/gdb-6.0-r1.ebuild82
5 files changed, 143 insertions, 15 deletions
diff --git a/sys-devel/gdb/ChangeLog b/sys-devel/gdb/ChangeLog
index c4155660f48a..447997ea9844 100644
--- a/sys-devel/gdb/ChangeLog
+++ b/sys-devel/gdb/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-devel/gdb
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.30 2004/02/23 16:46:13 bazik Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.31 2004/03/05 04:53:24 lu_zero Exp $
+
+*gdb-6.0-r1 (05 Mar 2004)
+
+ 05 Mar 2004; Luca Barbato <lu_zero@gentoo.org> gdb-6.0-r1.ebuild,
+ files/gdb-6.0-xfreemod-all.patch:
+ New revision, xfree module tracking support added
23 Feb 2004; Sven Blumenstein <bazik@gentoo.org> gdb-6.0.ebuild:
Stable on sparc (finally).
diff --git a/sys-devel/gdb/Manifest b/sys-devel/gdb/Manifest
index 3004e153cae0..a6ddfe543e46 100644
--- a/sys-devel/gdb/Manifest
+++ b/sys-devel/gdb/Manifest
@@ -1,21 +1,24 @@
-MD5 671560419eb3fb6a63cae639dcb8362b gdb-5.3.90.ebuild 3035
-MD5 1ee5eff989e9bb1f152195f208c16a11 gdb-6.0.ebuild 1741
-MD5 bcb2e8f5f756baa5dfcf4e383266156f gdb-5.1.1-r2.ebuild 1903
-MD5 37ebaadc7e64780c5562b08570002f81 gdb-5.2.1.ebuild 1636
-MD5 9a8f4809d78b7093dde89937f0c5133d gdb-5.3.ebuild 2437
-MD5 bef0f127cc1a5053d3eaaa60691c9422 ChangeLog 4900
+MD5 ff8a3413120447a3b9841cd3bf87e75f gdb-5.3.90.ebuild 3034
+MD5 918e88431c3cdcee1610c998e9abd799 gdb-5.3.ebuild 2436
+MD5 fd529f4699a134f8a5687410570c6798 ChangeLog 5085
+MD5 7d9de7775559287c72ec66ee4009db32 gdb-5.2.1.ebuild 1635
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
-MD5 5b0433c121b92f2a35c2106bbf45bbb9 files/gdb-5.3-hppa-03.patch 2678
-MD5 c6dfff1373e52fef5872c1bdca4cb706 files/gdb-6.0-info.patch 1108
-MD5 263738287571b63dd7bb69d3d5d50e04 files/digest-gdb-5.2.1 64
-MD5 e497ab2f05d847bde74f4e3441e2c7a2 files/gdb-6.0-coreutils.patch 1964
+MD5 d85d21eb2d4181de03f2253579a372d1 gdb-6.0-r1.ebuild 1954
+MD5 8293cec9e20c640ed22788dc75c1d4fe gdb-5.1.1-r2.ebuild 1902
+MD5 75e48c77f500a09061ada4f05ac4c298 gdb-6.0.ebuild 1740
+MD5 d5314bcbc29fb3ce8351caa3a501c351 files/gdb-5.3-hppa-02.patch 926
MD5 734c7bb9c66275fa7982d104905234da files/gdb-5.1.1-ppc-booltypes.patch 994
-MD5 1de0e1b91ac150426719e904f0e1a5cd files/gdb-5.3-sparc-nat-asm.patch 521
-MD5 4d383b990c22a7f0ee0d4a1679b82d20 files/man.diff 607
-MD5 2e43a9ed1afd8f8047e7b752b95f0c12 files/digest-gdb-5.3 128
MD5 420712ede2a47fedcae76b6f6215b9d4 files/digest-gdb-6.0 62
+MD5 2e43a9ed1afd8f8047e7b752b95f0c12 files/digest-gdb-5.3 128
MD5 ca7cf8e4b2eba16df1842e0a453e2b32 files/gdb-5.3-hppa-01.patch 182179
+MD5 c87a4627da2b7a05406088f51237e5b4 files/digest-gdb-6.0-r1 127
+MD5 c6dfff1373e52fef5872c1bdca4cb706 files/gdb-6.0-info.patch 1108
+MD5 263738287571b63dd7bb69d3d5d50e04 files/digest-gdb-5.2.1 64
+MD5 1de0e1b91ac150426719e904f0e1a5cd files/gdb-5.3-sparc-nat-asm.patch 521
MD5 c9906583fd4286272dff5fd2503ebe39 files/digest-gdb-5.1.1-r2 63
+MD5 dc01eff75d7495a2159e2ff9fc48f164 files/gdb-6.0-xfreemod-all.patch 1599
MD5 adbe09f334ca5267284ca9404400d2f5 files/gdb-6.0-threadver-aug2003.patch 4081
MD5 9b0c6e2a754a741a6cd20cacea4f408b files/digest-gdb-5.3.90 158
-MD5 d5314bcbc29fb3ce8351caa3a501c351 files/gdb-5.3-hppa-02.patch 926
+MD5 4d383b990c22a7f0ee0d4a1679b82d20 files/man.diff 607
+MD5 e497ab2f05d847bde74f4e3441e2c7a2 files/gdb-6.0-coreutils.patch 1964
+MD5 5b0433c121b92f2a35c2106bbf45bbb9 files/gdb-5.3-hppa-03.patch 2678
diff --git a/sys-devel/gdb/files/digest-gdb-6.0-r1 b/sys-devel/gdb/files/digest-gdb-6.0-r1
new file mode 100644
index 000000000000..111c1740f323
--- /dev/null
+++ b/sys-devel/gdb/files/digest-gdb-6.0-r1
@@ -0,0 +1,2 @@
+MD5 14371795b7903b816a6a88c69cace168 gdb-6.0.tar.bz2 11965008
+MD5 e9a198cbe3a3188fd75eb25ce4293d31 gdb-xfreemod-6.0.diff 29705
diff --git a/sys-devel/gdb/files/gdb-6.0-xfreemod-all.patch b/sys-devel/gdb/files/gdb-6.0-xfreemod-all.patch
new file mode 100644
index 000000000000..9d187bddfea7
--- /dev/null
+++ b/sys-devel/gdb/files/gdb-6.0-xfreemod-all.patch
@@ -0,0 +1,35 @@
+diff -ruN gdb.orig/config/powerpc/ppc64-linux.mh gdb/config/powerpc/ppc64-linux.mh
+--- gdb.orig/config/powerpc/ppc64-linux.mh 2004-03-05 05:20:10.966212088 +0100
++++ gdb/config/powerpc/ppc64-linux.mh 2004-03-05 05:24:15.675010696 +0100
+@@ -6,7 +6,7 @@
+ NAT_FILE= nm-ppc64-linux.h
+ NATDEPFILES= infptrace.o inftarg.o fork-child.o linux-proc.o \
+ ppc-linux-nat.o proc-service.o thread-db.o lin-lwp.o \
+- gcore.o linux-nat.o
++ gcore.o linux-nat.o xfreemod.o
+
+ # The PowerPC has severe limitations on TOC size, and uses them even
+ # for non-PIC code. GDB overflows those tables when compiling with
+diff -ruN gdb.orig/config/sparc/linux.mh gdb/config/sparc/linux.mh
+--- gdb.orig/config/sparc/linux.mh 2004-03-05 05:20:11.028202664 +0100
++++ gdb/config/sparc/linux.mh 2004-03-05 05:23:29.557021696 +0100
+@@ -5,7 +5,7 @@
+ NAT_FILE= nm-linux.h
+ NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o sparc-nat.o \
+ proc-service.o thread-db.o lin-lwp.o sparc-linux-nat.o \
+- linux-proc.o gcore.o linux-nat.o
++ linux-proc.o gcore.o linux-nat.o xfreemod.o
+
+ # The dynamically loaded libthread_db needs access to symbols in the
+ # gdb executable.
+diff -ruN gdb.orig/config/powerpc/linux.mh gdb/config/powerpc/linux.mh
+--- gdb.orig/config/powerpc/linux.mh 2004-03-04 20:05:35.899896088 +0100
++++ gdb/config/powerpc/linux.mh 2004-03-04 20:07:09.991591976 +0100
+@@ -6,6 +6,6 @@
+ NAT_FILE= nm-linux.h
+ NATDEPFILES= infptrace.o inftarg.o fork-child.o linux-proc.o \
+ ppc-linux-nat.o proc-service.o thread-db.o lin-lwp.o \
+- gcore.o linux-nat.o
++ gcore.o linux-nat.o xfreemod.o
+
+ LOADLIBES = -ldl -rdynamic
diff --git a/sys-devel/gdb/gdb-6.0-r1.ebuild b/sys-devel/gdb/gdb-6.0-r1.ebuild
new file mode 100644
index 000000000000..ed9ebcbe972b
--- /dev/null
+++ b/sys-devel/gdb/gdb-6.0-r1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-6.0-r1.ebuild,v 1.1 2004/03/05 04:53:24 lu_zero Exp $
+
+inherit flag-o-matic eutils
+
+DESCRIPTION="GNU debugger"
+HOMEPAGE="http://sources.redhat.com/gdb/
+ http://www.logix.cz/michal/devel/gdb-xfreemod"
+SRC_URI="http://mirrors.rcn.net/pub/sourceware/gdb/releases/${P}.tar.bz2
+ http://www.logix.cz/michal/devel/gdb-xfreemod/gdb-xfreemod-${PV}.diff"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64 ~ppc64"
+IUSE="nls"
+
+DEPEND=">=sys-libs/ncurses-5.2-r2
+ nls? ( sys-devel/gettext )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/gdb-6.0-threadver-aug2003.patch
+ epatch ${FILESDIR}/gdb-6.0-coreutils.patch
+ epatch ${FILESDIR}/gdb-6.0-info.patch
+ cd ${S}/gdb
+ epatch ${DISTDIR}/gdb-xfreemod-${PV}.diff
+ epatch ${FILESDIR}/gdb-6.0-xfreemod-all.patch
+ cd ${S}
+ if [ "${ARCH}" = "sparc" ]; then
+ epatch ${FILESDIR}/${PN}-5.3-sparc-nat-asm.patch
+ fi
+}
+
+src_compile() {
+ replace-flags -O? -O2
+ econf `use_enable nls` || die
+ make || die
+}
+
+src_install() {
+ make \
+ prefix=${D}/usr \
+ mandir=${D}/usr/share/man \
+ infodir=${D}/usr/share/info \
+ install || die
+
+ cd gdb/doc
+ make \
+ infodir=${D}/usr/share/info \
+ install-info || die
+
+ cd ${S}/bfd/doc
+ make \
+ infodir=${D}/usr/share/info \
+ install-info || die
+
+ cd ${S}
+
+ # These includes and libs are in binutils already
+ rm -f ${D}/usr/lib/libbfd.*
+ rm -f ${D}/usr/lib/libiberty.*
+ rm -f ${D}/usr/lib/libopcodes.*
+ rm -f ${D}/usr/share/info/{bfd,configure,standards}.info*
+
+ rm -rf ${D}/usr/include
+
+ dodoc COPYING* README
+
+ docinto gdb
+ dodoc gdb/CONTRIBUTE gdb/COPYING* gdb/README \
+ gdb/MAINTAINERS gdb/NEWS gdb/ChangeLog* \
+ gdb/TODO
+
+ docinto sim
+ dodoc sim/ChangeLog sim/MAINTAINERS sim/README-HACKING
+
+ docinto mmalloc
+ dodoc mmalloc/COPYING.LIB mmalloc/MAINTAINERS \
+ mmalloc/ChangeLog mmalloc/TODO
+}