summaryrefslogtreecommitdiff
path: root/cross/avr-gdb
diff options
context:
space:
mode:
authorwennmach <wennmach@pkgsrc.org>2003-07-17 20:03:58 +0000
committerwennmach <wennmach@pkgsrc.org>2003-07-17 20:03:58 +0000
commitad37c1cf2ba4ca94bad9f5031910a3da96b9755f (patch)
tree0f3efbbaecad9b46a9e788d43aca22362566b9a1 /cross/avr-gdb
parent352bf8d8261d1ea64db64cd0c8a73f71629c32ba (diff)
downloadpkgsrc-ad37c1cf2ba4ca94bad9f5031910a3da96b9755f.tar.gz
Update avr-gdb to 5.3, making patch-aa obsolete.
While there, buildlink2-ify. Changes suggested by Joachim Koenig-Baltes <joachim@cms.tecmath.com> in private e-mail.
Diffstat (limited to 'cross/avr-gdb')
-rw-r--r--cross/avr-gdb/Makefile9
-rw-r--r--cross/avr-gdb/distinfo4
-rw-r--r--cross/avr-gdb/patches/patch-aa24
3 files changed, 7 insertions, 30 deletions
diff --git a/cross/avr-gdb/Makefile b/cross/avr-gdb/Makefile
index 6b5845847e9..fd91c3c3b4a 100644
--- a/cross/avr-gdb/Makefile
+++ b/cross/avr-gdb/Makefile
@@ -1,15 +1,16 @@
-# $NetBSD: Makefile,v 1.1.1.1 2003/07/16 22:11:31 wennmach Exp $
+# $NetBSD: Makefile,v 1.2 2003/07/17 20:03:58 wennmach Exp $
# FreeBSD Id: ports/devel/avr-gdb/Makefile,v 1.2 2003/03/07 06:00:08 ade Exp
-DISTNAME= gdb-5.2.1
-PKGNAME= avr-gdb-5.2.1
+DISTNAME= gdb-5.3
+PKGNAME= avr-gdb-5.3
CATEGORIES= cross
MASTER_SITES= ${MASTER_SITE_SOURCEWARE:=gdb/releases/}
MAINTAINER= karlj@mdstud.chalmers.se
-COMMENT= GNU GDB 5.2.1 for Atmel AVR microcontrollers
+COMMENT= GNU gdb for Atmel AVR microcontrollers
USE_GMAKE= yes
+USE_BUILDLINK2= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --target=avr --program-prefix=avr
diff --git a/cross/avr-gdb/distinfo b/cross/avr-gdb/distinfo
index 4bbc165f7e0..911d62c4fda 100644
--- a/cross/avr-gdb/distinfo
+++ b/cross/avr-gdb/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2003/07/16 22:11:31 wennmach Exp $
+$NetBSD: distinfo,v 1.2 2003/07/17 20:03:59 wennmach Exp $
-MD5 (gdb-5.2.1.tar.gz) = e9766842f1bbc6c2353de1410d8c0de0
+SHA1 (gdb-5.3.tar.gz) = 24a6c9da6e89b1b82b7508f27f94098d989ff662
SHA1 (patch-aa) = 0a34ad3064fb03605975d9279edf638187eb74a1
diff --git a/cross/avr-gdb/patches/patch-aa b/cross/avr-gdb/patches/patch-aa
deleted file mode 100644
index 4cde547d586..00000000000
--- a/cross/avr-gdb/patches/patch-aa
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2003/07/16 22:11:31 wennmach Exp $
-
-Index: gdb/avr-tdep.c
-===================================================================
-RCS file: /cvs/src/src/gdb/avr-tdep.c,v
-retrieving revision 1.4
-diff -u -p -r1.4 avr-tdep.c
---- gdb/avr-tdep.c 17 Jun 2002 23:32:27 -0000 1.4
-+++ gdb/avr-tdep.c 19 Jul 2002 18:33:30 -0000
-@@ -995,7 +995,12 @@ avr_skip_prologue (CORE_ADDR pc)
- {
- sal = find_pc_line (func_addr, 0);
-
-- if (sal.line != 0 && sal.end < func_end)
-+ /* troth/2002-70-19: For some very simple functions, gcc doesn't
-+ generate a prologue and the sal.end ends up being the insn (2 bytes)
-+ before func_end (the address of the next func). By adjusting
-+ func_end, we can catch these functions and return the correct pc. */
-+
-+ if (sal.line != 0 && sal.end < (func_end-2))
- return sal.end;
- }
-
-