aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>2005-02-06 06:42:11 +0800
committerjoerg <joerg@FreeBSD.org>2005-02-06 06:42:11 +0800
commitd40d5ff250b44cda8d130deaced4b69777218089 (patch)
tree66c5b95e0373e2226f2729b41132768d9abf6baa /devel
parentc62a97a21e2ef302df76bb6d4ce3a3b166d4b40b (diff)
downloadfreebsd-ports-gnome-d40d5ff250b44cda8d130deaced4b69777218089.tar.gz
freebsd-ports-gnome-d40d5ff250b44cda8d130deaced4b69777218089.tar.zst
freebsd-ports-gnome-d40d5ff250b44cda8d130deaced4b69777218089.zip
Update to GDB 6.3. This also requires a patch from Theodore Roth,
see http://sources.redhat.com/ml/gdb-patches/2004-10/msg00324.html
Diffstat (limited to 'devel')
-rw-r--r--devel/avr-gdb/Makefile13
-rw-r--r--devel/avr-gdb/distinfo4
-rw-r--r--devel/avr-gdb/files/patch-gdb::symfile.c16
-rw-r--r--devel/avr-gdb/pkg-descr2
4 files changed, 27 insertions, 8 deletions
diff --git a/devel/avr-gdb/Makefile b/devel/avr-gdb/Makefile
index 363db608e0c9..e5a4c91d1e23 100644
--- a/devel/avr-gdb/Makefile
+++ b/devel/avr-gdb/Makefile
@@ -5,26 +5,27 @@
# $FreeBSD$
#
-PORTNAME= avr-gdb
-PORTVERSION= 5.3
-PORTREVISION= 1
+PORTNAME= gdb
+PORTVERSION= 6.3
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEWARE}
MASTER_SITE_SUBDIR= gdb/releases
+PKGNAMEPREFIX= avr
DISTNAME= gdb-${PORTVERSION}
MAINTAINER= joerg@FreeBSD.org
-COMMENT= GNU GDB 5.2.1 for the AVR target
+COMMENT= GNU GDB for the AVR target
USE_GMAKE= yes
+USE_BZIP2= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --target=avr --program-prefix=avr
+CONFIGURE_ARGS= --target=avr --program-prefix=avr --disable-nls
pre-configure:
cd ${WRKSRC} ; ${RM} -rf dejagnu expect sim tcl texinfo
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gdb/gdb \
- ${PREFIX}/bin/${PORTNAME}
+ ${PREFIX}/bin/${PKGNAMEPREFIX}-${PORTNAME}
.include <bsd.port.mk>
diff --git a/devel/avr-gdb/distinfo b/devel/avr-gdb/distinfo
index 82e06ca02451..d4b5bc9f9c86 100644
--- a/devel/avr-gdb/distinfo
+++ b/devel/avr-gdb/distinfo
@@ -1,2 +1,2 @@
-MD5 (gdb-5.3.tar.gz) = 1e8566325f222edfbdd93e40c6ae921b
-SIZE (gdb-5.3.tar.gz) = 14707600
+MD5 (gdb-6.3.tar.bz2) = 05b928f41fa5b482e49ca2c24762a0ae
+SIZE (gdb-6.3.tar.bz2) = 13446729
diff --git a/devel/avr-gdb/files/patch-gdb::symfile.c b/devel/avr-gdb/files/patch-gdb::symfile.c
new file mode 100644
index 000000000000..54691fb73456
--- /dev/null
+++ b/devel/avr-gdb/files/patch-gdb::symfile.c
@@ -0,0 +1,16 @@
+Index: gdb/symfile.c
+===================================================================
+RCS file: /cvs/src/src/gdb/symfile.c,v
+retrieving revision 1.143
+diff -u -p -p -r1.143 symfile.c
+--- symfile.c 1 Oct 2004 10:23:09 -0000 1.143
++++ symfile.c 19 Oct 2004 20:07:58 -0000
+@@ -1405,7 +1405,7 @@ load_section_callback (bfd *abfd, asecti
+ struct cleanup *old_chain;
+ CORE_ADDR lma = bfd_section_lma (abfd, asec) + args-&gt;load_offset;
+ bfd_size_type block_size;
+- int err;
++ int err = 0;
+ const char *sect_name = bfd_get_section_name (abfd, asec);
+ bfd_size_type sent;
+
diff --git a/devel/avr-gdb/pkg-descr b/devel/avr-gdb/pkg-descr
index b0048763a93d..e6615e385bf5 100644
--- a/devel/avr-gdb/pkg-descr
+++ b/devel/avr-gdb/pkg-descr
@@ -4,3 +4,5 @@ target.
This debugger cannot really be used standalone, but is useful in
connection with either AVaRICE (http://avarice.sourceforge.net/)
or simulavr (http://www.freesoftware.fsf.org/simulavr/).
+
+WWW: http://www.gnu.org/software/gdb/