pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/gdbada Update to gdbada-6.3. This is a version o...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8e223b35e03b
branches: trunk
changeset: 503049:8e223b35e03b
user: shannonjr <shannonjr%pkgsrc.org@localhost>
date: Sun Nov 13 14:16:05 2005 +0000
description:
Update to gdbada-6.3. This is a version of GDB, maintained by AdaCore,
where Ada support has been added. Most of these changes are not part
of the official sources yet. The source used in this port is a snapshot
of AdaCore's CVS repository.
diffstat:
devel/gdbada/DESCR | 2 +-
devel/gdbada/Makefile | 11 +-
devel/gdbada/PLIST | 33 +-
devel/gdbada/distinfo | 41 +-
devel/gdbada/patches/patch-aa | 50 +-
devel/gdbada/patches/patch-ab | 26 +-
devel/gdbada/patches/patch-ac | 640 +-----------------------------------------
devel/gdbada/patches/patch-ad | 49 +-
devel/gdbada/patches/patch-ae | 28 +-
devel/gdbada/patches/patch-af | 327 +--------------------
devel/gdbada/patches/patch-ag | 49 +-
devel/gdbada/patches/patch-ai | 20 +
devel/gdbada/patches/patch-aj | 11 +
devel/gdbada/patches/patch-ak | 12 +
devel/gdbada/patches/patch-al | 12 +
devel/gdbada/patches/patch-am | 16 +
devel/gdbada/patches/patch-an | 22 +
devel/gdbada/patches/patch-ao | 21 +
devel/gdbada/patches/patch-ap | 22 +
devel/gdbada/patches/patch-aq | 13 +
devel/gdbada/patches/patch-ar | 12 +
devel/gdbada/patches/patch-as | 13 +
devel/gdbada/patches/patch-at | 12 +
devel/gdbada/patches/patch-au | 38 ++
devel/gdbada/patches/patch-av | 12 +
devel/gdbada/patches/patch-aw | 37 ++
devel/gdbada/patches/patch-ax | 13 +
devel/gdbada/patches/patch-ay | 12 +
28 files changed, 462 insertions(+), 1092 deletions(-)
diffs (truncated from 1715 to 300 lines):
diff -r 680d20cad234 -r 8e223b35e03b devel/gdbada/DESCR
--- a/devel/gdbada/DESCR Sun Nov 13 10:37:09 2005 +0000
+++ b/devel/gdbada/DESCR Sun Nov 13 14:16:05 2005 +0000
@@ -1,1 +1,1 @@
-GNU GDB 5.3 developmental snapshot patched for Ada language.
+GNU GDB 6.3 developmental snapshot patched for Ada language.
diff -r 680d20cad234 -r 8e223b35e03b devel/gdbada/Makefile
--- a/devel/gdbada/Makefile Sun Nov 13 10:37:09 2005 +0000
+++ b/devel/gdbada/Makefile Sun Nov 13 14:16:05 2005 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2005/07/17 19:03:34 kristerw Exp $
+# $NetBSD: Makefile,v 1.7 2005/11/13 14:16:05 shannonjr Exp $
-DISTNAME= gdbada-5.3
-PKGREVISION= 1
+DISTNAME= gdbada-6.3
+#PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.johnrshannon.com/download/
EXTRACT_SUFX= .tgz
@@ -13,7 +13,7 @@
# Not yet ported to AMD 64-bit machines or Darwin
NOT_FOR_PLATFORM= *-*-x86_64 Darwin-*-*
-WRKSRC= ${WRKDIR}/gdb-5.3
+WRKSRC= ${WRKDIR}/gdb-6.3
USE_LIBTOOL= yes
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
GDB_SUBPREFIX= gdbada
@@ -36,6 +36,9 @@
USE_MAKEINFO= YES
USE_NEW_TEXINFO= YES
+pre-patch:
+ ${CP} ${FILESDIR}/nbsd-nat.c ${WRKSRC}/gdb
+
.include "../../mk/bsd.prefs.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
diff -r 680d20cad234 -r 8e223b35e03b devel/gdbada/PLIST
--- a/devel/gdbada/PLIST Sun Nov 13 10:37:09 2005 +0000
+++ b/devel/gdbada/PLIST Sun Nov 13 14:16:05 2005 +0000
@@ -1,42 +1,23 @@
-@comment $NetBSD: PLIST,v 1.2 2004/09/22 08:09:25 jlam Exp $
+@comment $NetBSD: PLIST,v 1.3 2005/11/13 14:16:05 shannonjr Exp $
gdbada/bin/gdb
+gdbada/bin/gdbtui
gdbada/include/ansidecl.h
gdbada/include/bfd.h
gdbada/include/bfdlink.h
gdbada/include/dis-asm.h
gdbada/include/symcat.h
+gdbada/info/annotate.info
gdbada/info/bfd.info
-gdbada/info/bfd.info-1
-gdbada/info/bfd.info-2
-gdbada/info/bfd.info-3
-gdbada/info/bfd.info-4
-gdbada/info/bfd.info-5
-gdbada/info/bfd.info-6
-gdbada/info/bfd.info-7
-gdbada/info/bfd.info-8
-gdbada/info/bfd.info-9
+gdbada/info/configure.info
gdbada/info/gdb.info
gdbada/info/gdbint.info
-gdbada/info/gdbint.info-1
-gdbada/info/gdbint.info-2
-gdbada/info/gdbint.info-3
-gdbada/info/gdbint.info-4
-gdbada/info/gdbint.info-5
-gdbada/info/gdbint.info-6
-gdbada/info/gdbint.info-7
-gdbada/info/mmalloc.info
gdbada/info/stabs.info
-gdbada/info/stabs.info-1
-gdbada/info/stabs.info-2
-gdbada/info/stabs.info-3
-gdbada/info/stabs.info-4
+gdbada/info/standards.info
gdbada/lib/libbfd.la
gdbada/lib/libiberty.a
-gdbada/lib/libmmalloc.a
gdbada/lib/libopcodes.la
-gdbada/man/man1/gdb.1
-@dirrm gdbada/man/man1
-@dirrm gdbada/man
+man/man1/gdb.1
+man/man1/gdbtui.1
@dirrm gdbada/lib
@dirrm gdbada/info
@dirrm gdbada/include
diff -r 680d20cad234 -r 8e223b35e03b devel/gdbada/distinfo
--- a/devel/gdbada/distinfo Sun Nov 13 10:37:09 2005 +0000
+++ b/devel/gdbada/distinfo Sun Nov 13 14:16:05 2005 +0000
@@ -1,13 +1,30 @@
-$NetBSD: distinfo,v 1.5 2005/10/20 17:49:27 wiz Exp $
+$NetBSD: distinfo,v 1.6 2005/11/13 14:16:05 shannonjr Exp $
-SHA1 (gdbada-5.3.tgz) = f5434113361c46e8fac67ecbbfc65f043733f803
-RMD160 (gdbada-5.3.tgz) = 96a32804bf0792571d1e9cec9b4e9f65cbf8d83f
-Size (gdbada-5.3.tgz) = 14558262 bytes
-SHA1 (patch-aa) = 8d3f7748c645b520488ee5499eb81a1e0a82593c
-SHA1 (patch-ab) = 56fe49b2f0b6a99053f48d6cf0df91c78ae24a92
-SHA1 (patch-ac) = 681168205196ad6451674f703fcf9148b673d4de
-SHA1 (patch-ad) = f831cd919d75ba8ab76c1f90b47ee443615397f8
-SHA1 (patch-ae) = e2a7e553cab2d447e9c27f6fd956577355714f28
-SHA1 (patch-af) = 4637beaaa978395547f7664504aced476ec946d8
-SHA1 (patch-ag) = 369813ddbe3ca2275a530758913329d37948086f
-SHA1 (patch-ah) = 12e3b8035be7afec3e3f8dcea48e807352905940
+SHA1 (gdbada-6.3.tgz) = ac174c32d23c628521142f92b83c30a4a40b450b
+RMD160 (gdbada-6.3.tgz) = fb3cb09d29ce8c7c805737c7e9af9ccd5918773d
+Size (gdbada-6.3.tgz) = 16425190 bytes
+SHA1 (patch-aa) = 9f56ea33a8302cc75e1db5f0ee6a1961d9353063
+SHA1 (patch-ab) = 7c2d5e393ba09896e2726a19346177e2ac5b5ca9
+SHA1 (patch-ac) = 42f8a29d960178180c5153272d153cdec93939ef
+SHA1 (patch-ad) = dcc314966737fde5eec96ffa69da9c477ea9966f
+SHA1 (patch-ae) = b447679307afc81d16c065c21818f69123b6d96e
+SHA1 (patch-af) = 2e58c96e65b037d01b7fcade894f3202318837d9
+SHA1 (patch-ag) = b7bf4fbeb8f47ffea6752aa4887ee2b91a2d18ab
+SHA1 (patch-ah) = f351ea2c3d665934a4b85735f71663bda0f921a5
+SHA1 (patch-ai) = ed1333551ea787f6bc8bd1f06ca55bf7d72047dd
+SHA1 (patch-aj) = d07b552768afc72e8f3455bcbbc4a083b91d9334
+SHA1 (patch-ak) = d4875e7afba86aef57952ac350499c36d41e8ece
+SHA1 (patch-al) = 568b12ca558cfff670acf3eb22849f6969b75f44
+SHA1 (patch-am) = ec3f0a17da949254b1d0b95d53f5cb16db25607e
+SHA1 (patch-an) = b88b071016fda8ae8cebd3865b7a970f9b01176c
+SHA1 (patch-ao) = e72ee7a68af791c9fad2aba4842b4fc84c1395a2
+SHA1 (patch-ap) = 4402ea77f141229fcbad97eb2647fb2c5b756687
+SHA1 (patch-aq) = 4276014a3000d85be3925e1aaabefcba4daa7a40
+SHA1 (patch-ar) = 1a53aa6dccf94f1a654596d690f00a4e8c3a7c58
+SHA1 (patch-as) = 17ff7ad3c9eaaeb4d6b1ebc376c6a4de777aa1d4
+SHA1 (patch-at) = 71ca4fe3f2a9c5eb88d40d61b26f82e578b56cb0
+SHA1 (patch-au) = 0ee1e2f60f826a6abf093328cdcc29ea11cb6b88
+SHA1 (patch-av) = 59ae675caf65d1e873425ca7eab643558b45eb45
+SHA1 (patch-aw) = 44a28f2cb4b395442ba140269833dff87b83d821
+SHA1 (patch-ax) = 208ce114735cb39a422ef40edd739ab47ae68baf
+SHA1 (patch-ay) = e5b353114a4a71df83e562d42a62e24ac6ea79b6
diff -r 680d20cad234 -r 8e223b35e03b devel/gdbada/patches/patch-aa
--- a/devel/gdbada/patches/patch-aa Sun Nov 13 10:37:09 2005 +0000
+++ b/devel/gdbada/patches/patch-aa Sun Nov 13 14:16:05 2005 +0000
@@ -1,27 +1,31 @@
-$NetBSD: patch-aa,v 1.1.1.1 2004/06/03 11:16:42 shannonjr Exp $
+$NetBSD: patch-aa,v 1.2 2005/11/13 14:16:05 shannonjr Exp $
---- Makefile.in.orig 2002-12-10 21:30:40.000000000 +0000
-+++ Makefile.in
-@@ -75,10 +75,10 @@ PWD = $${PWDCMD-pwd}
- # cygwin host.
- INSTALL_PROGRAM_ARGS =
+--- gdb/i386bsd-nat.c.orig 2004-10-20 17:12:05.000000000 -0600
++++ gdb/i386bsd-nat.c
+@@ -389,7 +389,7 @@ _initialize_i386bsd_nat (void)
+
+ /* Override the default value for the offset of the program counter
+ in the sigcontext structure. */
+- offset = offsetof (struct sigcontext, sc_pc);
++ offset = offsetof (ucontext_t, uc_mcontext.__gregs[_REG_EIP]);
+
+ if (SC_PC_OFFSET != offset)
+ {
+@@ -402,7 +402,7 @@ Please report this to <bug-gdb%gnu.org@localhost>.
+ SC_PC_OFFSET = offset;
--INSTALL = $(SHELL) $$s/install-sh -c
--INSTALL_PROGRAM = $(INSTALL) $(INSTALL_PROGRAM_ARGS)
--INSTALL_SCRIPT = $(INSTALL)
--INSTALL_DATA = $(INSTALL) -m 644
-+INSTALL = $(BSD_INSTALL)
-+INSTALL_PROGRAM = $(BSD_INSTALL_PROGRAM)
-+INSTALL_SCRIPT = $(BSD_INSTALL_SCRIPT)
-+INSTALL_DATA = $(BSD_INSTALL_DATA)
+ /* Likewise for the stack pointer. */
+- offset = offsetof (struct sigcontext, sc_sp);
++ offset = offsetof (ucontext_t, uc_mcontext.__gregs[_REG_UESP]);
- INSTALL_DOSREL = install-dosrel-fake
+ if (SC_SP_OFFSET != offset)
+ {
+@@ -415,7 +415,7 @@ Please report this to <bug-gdb%gnu.org@localhost>.
+ SC_SP_OFFSET = offset;
-@@ -707,7 +707,6 @@ INSTALL_MODULES = \
- install-perl \
- install-prms \
- install-rcs \
-- install-readline \
- install-recode \
- install-sed \
- install-send-pr \
+ /* And the frame pointer. */
+- offset = offsetof (struct sigcontext, sc_fp);
++ offset = offsetof (ucontext_t, uc_stack);
+
+ if (SC_FP_OFFSET != offset)
+ {
diff -r 680d20cad234 -r 8e223b35e03b devel/gdbada/patches/patch-ab
--- a/devel/gdbada/patches/patch-ab Sun Nov 13 10:37:09 2005 +0000
+++ b/devel/gdbada/patches/patch-ab Sun Nov 13 14:16:05 2005 +0000
@@ -1,15 +1,13 @@
-$NetBSD: patch-ab,v 1.1.1.1 2004/06/03 11:16:42 shannonjr Exp $
+$NetBSD: patch-ab,v 1.2 2005/11/13 14:16:05 shannonjr Exp $
---- bfd/Makefile.am.orig 2002-08-30 08:11:44.000000000 +0000
-+++ bfd/Makefile.am
-@@ -724,8 +724,8 @@ install_libbfd: $(bfdlib_LTLIBRARIES) $(
- $(mkinstalldirs) $(DESTDIR)$(bfdincludedir)
- @list='$(bfdlib_LTLIBRARIES)'; for p in $$list; do \
- if test -f $$p; then \
-- echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(bfdlibdir)/$$p"; \
-- $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(bfdlibdir)/$$p; \
-+ echo "$(LIBTOOL) --mode=install $(INSTALL_DATA) $$p $(DESTDIR)$(bfdlibdir)/$$p"; \
-+ $(LIBTOOL) --mode=install $(INSTALL_DATA) $$p $(DESTDIR)$(bfdlibdir)/$$p; \
- else :; fi; \
- done
- $(INSTALL_DATA) $(BFD_H) $(DESTDIR)$(bfdincludedir)/bfd.h
+--- gdb/ax-gdb.c.orig 2004-10-20 17:11:37.000000000 -0600
++++ gdb/ax-gdb.c
+@@ -743,6 +743,8 @@ gen_usual_unary (struct agent_expr *ax,
+ case TYPE_CODE_ENUM:
+ value->type = builtin_type_int;
+ break;
++ default:
++ ;
+ }
+
+ /* If the value is an lvalue, dereference it. */
diff -r 680d20cad234 -r 8e223b35e03b devel/gdbada/patches/patch-ac
--- a/devel/gdbada/patches/patch-ac Sun Nov 13 10:37:09 2005 +0000
+++ b/devel/gdbada/patches/patch-ac Sun Nov 13 14:16:05 2005 +0000
@@ -1,629 +1,13 @@
-$NetBSD: patch-ac,v 1.1.1.1 2004/06/03 11:16:43 shannonjr Exp $
+$NetBSD: patch-ac,v 1.2 2005/11/13 14:16:05 shannonjr Exp $
---- bfd/Makefile.in.orig 2003-03-10 21:23:58.000000000 +0000
-+++ bfd/Makefile.in
-@@ -151,535 +151,45 @@ BFD_H = bfd.h
- # for the debugger, so if you are downloading things as S-records you
- # need two copies of the executable, one to download and one for the
- # debugger).
--BFD32_LIBS = \
-- archive.lo archures.lo bfd.lo cache.lo coffgen.lo corefile.lo \
-- format.lo init.lo libbfd.lo opncls.lo reloc.lo \
-- section.lo syms.lo targets.lo hash.lo linker.lo \
-- srec.lo binary.lo tekhex.lo ihex.lo stabs.lo stab-syms.lo \
-- merge.lo dwarf2.lo
-+BFD32_LIBS = archive.lo archures.lo bfd.lo cache.lo coffgen.lo corefile.lo format.lo init.lo libbfd.lo opncls.lo reloc.lo section.lo syms.lo targets.lo hash.lo linker.lo srec.lo
binary.lo tekhex.lo ihex.lo stabs.lo stab-syms.lo merge.lo dwarf2.lo
-
-
- BFD64_LIBS = archive64.lo
-
--BFD32_LIBS_CFILES = \
-- archive.c archures.c bfd.c cache.c coffgen.c corefile.c \
-- format.c init.c libbfd.c opncls.c reloc.c \
-- section.c syms.c targets.c hash.c linker.c \
-- srec.c binary.c tekhex.c ihex.c stabs.c stab-syms.c \
-- merge.c dwarf2.c
-+BFD32_LIBS_CFILES = archive.c archures.c bfd.c cache.c coffgen.c corefile.c format.c init.c libbfd.c opncls.c reloc.c section.c syms.c targets.c hash.c linker.c srec.c binary.c
tekhex.c ihex.c stabs.c stab-syms.c merge.c dwarf2.c
-
-
- BFD64_LIBS_CFILES = archive64.c
-
- # This list is alphabetized to make it easier to keep in sync
- # with the decls and initializer in archures.c.
--ALL_MACHINES = \
-- cpu-a29k.lo \
-- cpu-alpha.lo \
-- cpu-arc.lo \
-- cpu-arm.lo \
-- cpu-avr.lo \
-- cpu-cris.lo \
-- cpu-d10v.lo \
-- cpu-d30v.lo \
-- cpu-dlx.lo \
-- cpu-fr30.lo \
-- cpu-frv.lo \
-- cpu-h8300.lo \
-- cpu-h8500.lo \
-- cpu-hppa.lo \
-- cpu-ia64.lo \
-- cpu-i370.lo \
-- cpu-i386.lo \
-- cpu-i860.lo \
-- cpu-i960.lo \
-- cpu-ip2k.lo \
-- cpu-m32r.lo \
-- cpu-m68hc11.lo \
-- cpu-m68hc12.lo \
-- cpu-m68k.lo \
-- cpu-m88k.lo \
-- cpu-m10200.lo \
-- cpu-m10300.lo \
-- cpu-mcore.lo \
-- cpu-mips.lo \
-- cpu-mmix.lo \
-- cpu-or32.lo \
-- cpu-ns32k.lo \
-- cpu-openrisc.lo \
-- cpu-pdp11.lo \
-- cpu-pj.lo \
Home |
Main Index |
Thread Index |
Old Index