diff options
author | shannonjr <shannonjr@pkgsrc.org> | 2005-11-13 14:16:05 +0000 |
---|---|---|
committer | shannonjr <shannonjr@pkgsrc.org> | 2005-11-13 14:16:05 +0000 |
commit | 683026dd08c8f66d8eb7c1e9d268e4ba059deabc (patch) | |
tree | 7c2507e89a85adea48f6306163d45d4f8d2e7f8c /devel | |
parent | ca9cde479317ba4b04e73c29525e704473869338 (diff) | |
download | pkgsrc-683026dd08c8f66d8eb7c1e9d268e4ba059deabc.tar.gz |
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 (limited to 'devel')
28 files changed, 462 insertions, 1092 deletions
diff --git a/devel/gdbada/DESCR b/devel/gdbada/DESCR index f9e7357f015..ae70599e81c 100644 --- a/devel/gdbada/DESCR +++ b/devel/gdbada/DESCR @@ -1 +1 @@ -GNU GDB 5.3 developmental snapshot patched for Ada language. +GNU GDB 6.3 developmental snapshot patched for Ada language. diff --git a/devel/gdbada/Makefile b/devel/gdbada/Makefile index f85e5086a61..0669def72d3 100644 --- a/devel/gdbada/Makefile +++ b/devel/gdbada/Makefile @@ -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 @@ COMMENT= GNAT GDB : An Ada 95 Debugger # 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 @@ CONFIGURE_ARGS+= --disable-nls 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 --git a/devel/gdbada/PLIST b/devel/gdbada/PLIST index 851f5d6daed..de9b0674538 100644 --- a/devel/gdbada/PLIST +++ b/devel/gdbada/PLIST @@ -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 --git a/devel/gdbada/distinfo b/devel/gdbada/distinfo index ce65577c815..82ab5fd67e6 100644 --- a/devel/gdbada/distinfo +++ b/devel/gdbada/distinfo @@ -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 --git a/devel/gdbada/patches/patch-aa b/devel/gdbada/patches/patch-aa index 5c3624b2b14..a9c05bc89a7 100644 --- a/devel/gdbada/patches/patch-aa +++ b/devel/gdbada/patches/patch-aa @@ -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) --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) + /* 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]); - INSTALL_DOSREL = install-dosrel-fake + if (SC_PC_OFFSET != offset) + { +@@ -402,7 +402,7 @@ Please report this to <bug-gdb@gnu.org>. + SC_PC_OFFSET = offset; -@@ -707,7 +707,6 @@ INSTALL_MODULES = \ - install-perl \ - install-prms \ - install-rcs \ -- install-readline \ - install-recode \ - install-sed \ - install-send-pr \ + /* Likewise for the stack pointer. */ +- offset = offsetof (struct sigcontext, sc_sp); ++ offset = offsetof (ucontext_t, uc_mcontext.__gregs[_REG_UESP]); + + if (SC_SP_OFFSET != offset) + { +@@ -415,7 +415,7 @@ Please report this to <bug-gdb@gnu.org>. + SC_SP_OFFSET = offset; + + /* And the frame pointer. */ +- offset = offsetof (struct sigcontext, sc_fp); ++ offset = offsetof (ucontext_t, uc_stack); + + if (SC_FP_OFFSET != offset) + { diff --git a/devel/gdbada/patches/patch-ab b/devel/gdbada/patches/patch-ab index dd3aa2ee6b9..61021073f44 100644 --- a/devel/gdbada/patches/patch-ab +++ b/devel/gdbada/patches/patch-ab @@ -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 --git a/devel/gdbada/patches/patch-ac b/devel/gdbada/patches/patch-ac index e0ca0d716aa..fbba9e6c522 100644 --- a/devel/gdbada/patches/patch-ac +++ b/devel/gdbada/patches/patch-ac @@ -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 \ -- cpu-powerpc.lo \ -- cpu-rs6000.lo \ -- cpu-s390.lo \ -- cpu-sh.lo \ -- cpu-sparc.lo \ -- cpu-tic30.lo \ -- cpu-tic4x.lo \ -- cpu-tic54x.lo \ -- cpu-tic80.lo \ -- cpu-v850.lo \ -- cpu-vax.lo \ -- cpu-we32k.lo \ -- cpu-w65.lo \ -- cpu-xstormy16.lo \ -- cpu-z8k.lo -- -- --ALL_MACHINES_CFILES = \ -- cpu-a29k.c \ -- cpu-alpha.c \ -- cpu-arc.c \ -- cpu-arm.c \ -- cpu-avr.c \ -- cpu-cris.c \ -- cpu-d10v.c \ -- cpu-d30v.c \ -- cpu-dlx.c \ -- cpu-fr30.c \ -- cpu-frv.c \ -- cpu-h8300.c \ -- cpu-h8500.c \ -- cpu-hppa.c \ -- cpu-ia64.c \ -- cpu-i370.c \ -- cpu-i386.c \ -- cpu-i860.c \ -- cpu-i960.c \ -- cpu-ip2k.c \ -- cpu-m32r.c \ -- cpu-m68hc11.c \ -- cpu-m68hc12.c \ -- cpu-m68k.c \ -- cpu-m88k.c \ -- cpu-m10200.c \ -- cpu-m10300.c \ -- cpu-mcore.c \ -- cpu-mips.c \ -- cpu-mmix.c \ -- cpu-or32.c \ -- cpu-ns32k.c \ -- cpu-openrisc.c \ -- cpu-pdp11.c \ -- cpu-pj.c \ -- cpu-powerpc.c \ -- cpu-rs6000.c \ -- cpu-s390.c \ -- cpu-sh.c \ -- cpu-sparc.c \ -- cpu-tic30.c \ -- cpu-tic4x.c \ -- cpu-tic54x.c \ -- cpu-tic80.c \ -- cpu-v850.c \ -- cpu-vax.c \ -- cpu-we32k.c \ -- cpu-w65.c \ -- cpu-xstormy16.c \ -- cpu-z8k.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 cpu-powerpc.lo cpu-rs6000.lo cpu-s390.lo cpu-sh.lo cpu-sparc.lo cpu-tic30.lo cpu-tic4x.lo cpu-tic54x.lo cpu-tic80.lo cpu-v850.lo cpu-vax.lo cpu-we32k.lo cpu-w65.lo cpu-xstormy16.lo cpu-z8k.lo -+ -+ -+ALL_MACHINES_CFILES = cpu-a29k.c cpu-alpha.c cpu-arc.c cpu-arm.c cpu-avr.c cpu-cris.c cpu-d10v.c cpu-d30v.c cpu-dlx.c cpu-fr30.c cpu-frv.c cpu-h8300.c cpu-h8500.c cpu-hppa.c cpu-ia64.c cpu-i370.c cpu-i386.c cpu-i860.c cpu-i960.c cpu-ip2k.c cpu-m32r.c cpu-m68hc11.c cpu-m68hc12.c cpu-m68k.c cpu-m88k.c cpu-m10200.c cpu-m10300.c cpu-mcore.c cpu-mips.c cpu-mmix.c cpu-or32.c cpu-ns32k.c cpu-openrisc.c cpu-pdp11.c cpu-pj.c cpu-powerpc.c cpu-rs6000.c cpu-s390.c cpu-sh.c cpu-sparc.c cpu-tic30.c cpu-tic4x.c cpu-tic54x.c cpu-tic80.c cpu-v850.c cpu-vax.c cpu-we32k.c cpu-w65.c cpu-xstormy16.c cpu-z8k.c - - - # The .o files needed by all of the 32 bit vectors that are configured into - # target_vector in targets.c if configured with --enable-targets=all. --BFD32_BACKENDS = \ -- aout-adobe.lo \ -- aout-arm.lo \ -- aout-cris.lo \ -- aout-ns32k.lo \ -- aout-sparcle.lo \ -- aout-tic30.lo \ -- aout0.lo \ -- aout32.lo \ -- armnetbsd.lo \ -- bout.lo \ -- cf-i386lynx.lo \ -- cf-m68klynx.lo \ -- cf-sparclynx.lo \ -- coff-a29k.lo \ -- coff-apollo.lo \ -- coff-arm.lo \ -- coff-aux.lo \ -- coff-h8300.lo \ -- coff-h8500.lo \ -- coff-i386.lo \ -- coff-go32.lo \ -- coff-i860.lo \ -- coff-i960.lo \ -- coff-m68k.lo \ -- coff-m88k.lo \ -- coff-mips.lo \ -- coff-or32.lo \ -- coff-rs6000.lo \ -- coff-sh.lo \ -- coff-sparc.lo \ -- coff-stgo32.lo \ -- coff-svm68k.lo \ -- coff-tic30.lo \ -- coff-tic4x.lo \ -- coff-tic54x.lo \ -- coff-tic80.lo \ -- coff-u68k.lo \ -- coff-we32k.lo \ -- coff-w65.lo \ -- coff-z8k.lo \ -- cofflink.lo \ -- dwarf1.lo \ -- ecoff.lo \ -- ecofflink.lo \ -- efi-app-ia32.lo \ -- elf.lo \ -- elf32-arc.lo \ -- elfarm-oabi.lo \ -- elfarm-nabi.lo \ -- elfarmqnx-nabi.lo \ -- elf32-avr.lo \ -- elf32-cris.lo \ -- elf32-d10v.lo \ -- elf32-d30v.lo \ -- elf32-dlx.lo \ -- elf32-fr30.lo \ -- elf32-frv.lo \ -- elf32-gen.lo \ -- elf32-h8300.lo \ -- elf32-hppa.lo \ -- elf32-i370.lo \ -- elf32-i386.lo \ -- elf32-i386qnx.lo \ -- elf32-i860.lo \ -- elf32-i960.lo \ -- elf32-ia64.lo \ -- elf32-ip2k.lo \ -- elf32-m32r.lo \ -- elf32-m68hc11.lo \ -- elf32-m68hc12.lo \ -- elf32-m68k.lo \ -- elf32-m88k.lo \ -- elf-m10200.lo \ -- elf-m10300.lo \ -- elf32-mcore.lo \ -- elfxx-mips.lo \ -- elf32-mips.lo \ -- elf32-openrisc.lo \ -- elf32-or32.lo \ -- elf32-pj.lo \ -- elf32-ppc.lo \ -- elf32-ppcqnx.lo \ -- elf32-s390.lo \ -- elf32-sh.lo \ -- elf32-sh-lin.lo \ -- elf32-sh64.lo \ -- elf32-sh64-com.lo \ -- elf32-sh-nbsd.lo \ -- elf32-sh64-nbsd.lo \ -- elf32-shqnx.lo \ -- elf32-sparc.lo \ -- elf32-v850.lo \ -- elf32-vax.lo \ -- elf32-xstormy16.lo \ -- elf32.lo \ -- elflink.lo \ -- elf-strtab.lo \ -- elf-eh-frame.lo \ -- epoc-pe-arm.lo \ -- epoc-pei-arm.lo \ -- hp300bsd.lo \ -- hp300hpux.lo \ -- som.lo \ -- i386aout.lo \ -- i386bsd.lo \ -- i386dynix.lo \ -- i386freebsd.lo \ -- i386linux.lo \ -- i386lynx.lo \ -- i386msdos.lo \ -- i386netbsd.lo \ -- i386mach3.lo \ -- i386os9k.lo \ -- ieee.lo \ -- m68k4knetbsd.lo \ -- m68klinux.lo \ -- m68klynx.lo \ -- m68knetbsd.lo \ -- m88kmach3.lo \ -- mipsbsd.lo \ -- newsos3.lo \ -- nlm.lo \ -- nlm32-i386.lo \ -- nlm32-sparc.lo \ -- nlm32-ppc.lo \ -- nlm32.lo \ -- ns32knetbsd.lo \ -- oasys.lo \ -- pc532-mach.lo \ -- pdp11.lo \ -- pe-arm.lo \ -- pei-arm.lo \ -- pe-i386.lo \ -- pei-i386.lo \ -- pe-mcore.lo \ -- pei-mcore.lo \ -- pe-ppc.lo \ -- pei-ppc.lo \ -- pe-sh.lo \ -- pei-sh.lo \ -- pe-mips.lo \ -- pei-mips.lo \ -- peigen.lo \ -- ppcboot.lo \ -- reloc16.lo \ -- riscix.lo \ -- sparclinux.lo \ -- sparclynx.lo \ -- sparcnetbsd.lo \ -- sunos.lo \ -- vaxnetbsd.lo \ -- vax1knetbsd.lo \ -- vaxbsd.lo \ -- versados.lo \ -- vms.lo \ -- vms-gsd.lo \ -- vms-hdr.lo \ -- vms-misc.lo \ -- vms-tir.lo \ -- xcofflink.lo -- -- --BFD32_BACKENDS_CFILES = \ -- aout-adobe.c \ -- aout-arm.c \ -- aout-cris.c \ -- aout-ns32k.c \ -- aout-sparcle.c \ -- aout-tic30.c \ -- aout0.c \ -- aout32.c \ -- armnetbsd.c \ -- bout.c \ -- cf-i386lynx.c \ -- cf-m68klynx.c \ -- cf-sparclynx.c \ -- coff-a29k.c \ -- coff-apollo.c \ -- coff-arm.c \ -- coff-aux.c \ -- coff-h8300.c \ -- coff-h8500.c \ -- coff-i386.c \ -- coff-i860.c \ -- coff-go32.c \ -- coff-i960.c \ -- coff-m68k.c \ -- coff-m88k.c \ -- coff-mips.c \ -- coff-or32.c \ -- coff-rs6000.c \ -- coff-sh.c \ -- coff-sparc.c \ -- coff-stgo32.c \ -- coff-svm68k.c \ -- coff-tic30.c \ -- coff-tic4x.c \ -- coff-tic54x.c \ -- coff-tic80.c \ -- coff-u68k.c \ -- coff-we32k.c \ -- coff-w65.c \ -- coff-z8k.c \ -- cofflink.c \ -- dwarf1.c \ -- ecoff.c \ -- ecofflink.c \ -- efi-app-ia32.c \ -- elf.c \ -- elf32-arc.c \ -- elfarm-oabi.c \ -- elfarm-nabi.c \ -- elfarmqnx-nabi.c \ -- elf32-avr.c \ -- elf32-cris.c \ -- elf32-d10v.c \ -- elf32-d30v.c \ -- elf32-dlx.c \ -- elf32-fr30.c \ -- elf32-frv.c \ -- elf32-gen.c \ -- elf32-h8300.c \ -- elf32-hppa.c \ -- elf32-i370.c \ -- elf32-i386.c \ -- elf32-i386qnx.c \ -- elf32-i860.c \ -- elf32-i960.c \ -- elf32-ip2k.c \ -- elf32-m32r.c \ -- elf32-m68k.c \ -- elf32-m68hc11.c \ -- elf32-m68hc12.c \ -- elf32-m88k.c \ -- elf-m10200.c \ -- elf-m10300.c \ -- elf32-mcore.c \ -- elfxx-mips.c \ -- elf32-mips.c \ -- elf32-openrisc.c \ -- elf32-or32.c \ -- elf32-pj.c \ -- elf32-ppc.c \ -- elf32-ppcqnx.c \ -- elf32-sh64.c \ -- elf32-sh64-com.c \ -- elf32-s390.c \ -- elf32-sh.c \ -- elf32-sh-lin.c \ -- elf32-sh-nbsd.c \ -- elf32-sh64-nbsd.c \ -- elf32-shqnx.c \ -- elf32-sparc.c \ -- elf32-v850.c \ -- elf32-vax.c \ -- elf32-xstormy16.c \ -- elf32.c \ -- elflink.c \ -- elf-strtab.c \ -- elf-eh-frame.c \ -- epoc-pe-arm.c \ -- epoc-pei-arm.c \ -- hp300bsd.c \ -- hp300hpux.c \ -- som.c \ -- i386aout.c \ -- i386bsd.c \ -- i386dynix.c \ -- i386freebsd.c \ -- i386linux.c \ -- i386lynx.c \ -- i386msdos.c \ -- i386netbsd.c \ -- i386mach3.c \ -- i386os9k.c \ -- ieee.c \ -- m68k4knetbsd.c \ -- m68klinux.c \ -- m68klynx.c \ -- m68knetbsd.c \ -- m88kmach3.c \ -- mipsbsd.c \ -- newsos3.c \ -- nlm.c \ -- nlm32-i386.c \ -- nlm32-sparc.c \ -- nlm32-ppc.c \ -- nlm32.c \ -- ns32knetbsd.c \ -- oasys.c \ -- pc532-mach.c \ -- pdp11.c \ -- pe-arm.c \ -- pei-arm.c \ -- pe-i386.c \ -- pei-i386.c \ -- pe-mcore.c \ -- pei-mcore.c \ -- pe-ppc.c \ -- pei-ppc.c \ -- pe-sh.c \ -- pei-sh.c \ -- pe-mips.c \ -- pei-mips.c \ -- ppcboot.c \ -- reloc16.c \ -- riscix.c \ -- sparclinux.c \ -- sparclynx.c \ -- sparcnetbsd.c \ -- sunos.c \ -- vaxnetbsd.c \ -- vax1knetbsd.c \ -- vaxbsd.c \ -- versados.c \ -- vms.c \ -- vms-gsd.c \ -- vms-hdr.c \ -- vms-misc.c \ -- vms-tir.c \ -- xcofflink.c -+BFD32_BACKENDS = aout-adobe.lo aout-arm.lo aout-cris.lo aout-ns32k.lo aout-sparcle.lo aout-tic30.lo aout0.lo aout32.lo armnetbsd.lo bout.lo cf-i386lynx.lo cf-m68klynx.lo cf-sparclynx.lo coff-a29k.lo coff-apollo.lo coff-arm.lo coff-aux.lo coff-h8300.lo coff-h8500.lo coff-i386.lo coff-go32.lo coff-i860.lo coff-i960.lo coff-m68k.lo coff-m88k.lo coff-mips.lo coff-or32.lo coff-rs6000.lo coff-sh.lo coff-sparc.lo coff-stgo32.lo coff-svm68k.lo coff-tic30.lo coff-tic4x.lo coff-tic54x.lo coff-tic80.lo coff-u68k.lo coff-we32k.lo coff-w65.lo coff-z8k.lo cofflink.lo dwarf1.lo ecoff.lo ecofflink.lo efi-app-ia32.lo elf.lo elf32-arc.lo elfarm-oabi.lo elfarm-nabi.lo elfarmqnx-nabi.lo elf32-avr.lo elf32-cris.lo elf32-d10v.lo elf32-d30v.lo elf32-dlx.lo elf32-fr30.lo elf32-frv.lo elf32-gen.lo elf32-h8300.lo elf32-hppa.lo elf32-i370.lo elf32-i386.lo elf32-i386qnx.lo elf32-i860.lo elf32-i960.lo elf32-ia64.lo elf32-ip2k.lo elf32-m32r.lo elf32-m68hc11.lo elf32-m68hc12.lo elf32-m68k.lo elf32-m88k.lo elf-m10200.lo elf-m10300.lo elf32-mcore.lo elfxx-mips.lo elf32-mips.lo elf32-openrisc.lo elf32-or32.lo elf32-pj.lo elf32-ppc.lo elf32-ppcqnx.lo elf32-s390.lo elf32-sh.lo elf32-sh-lin.lo elf32-sh64.lo elf32-sh64-com.lo elf32-sh-nbsd.lo elf32-sh64-nbsd.lo elf32-shqnx.lo elf32-sparc.lo elf32-v850.lo elf32-vax.lo elf32-xstormy16.lo elf32.lo elflink.lo elf-strtab.lo elf-eh-frame.lo epoc-pe-arm.lo epoc-pei-arm.lo hp300bsd.lo hp300hpux.lo som.lo i386aout.lo i386bsd.lo i386dynix.lo i386freebsd.lo i386linux.lo i386lynx.lo i386msdos.lo i386netbsd.lo i386mach3.lo i386os9k.lo ieee.lo m68k4knetbsd.lo m68klinux.lo m68klynx.lo m68knetbsd.lo m88kmach3.lo mipsbsd.lo newsos3.lo nlm.lo nlm32-i386.lo nlm32-sparc.lo nlm32-ppc.lo nlm32.lo ns32knetbsd.lo oasys.lo pc532-mach.lo pdp11.lo pe-arm.lo pei-arm.lo pe-i386.lo pei-i386.lo pe-mcore.lo pei-mcore.lo pe-ppc.lo pei-ppc.lo pe-sh.lo pei-sh.lo pe-mips.lo pei-mips.lo peigen.lo ppcboot.lo reloc16.lo riscix.lo sparclinux.lo sparclynx.lo sparcnetbsd.lo sunos.lo vaxnetbsd.lo vax1knetbsd.lo vaxbsd.lo versados.lo vms.lo vms-gsd.lo vms-hdr.lo vms-misc.lo vms-tir.lo xcofflink.lo -+ -+ -+BFD32_BACKENDS_CFILES = aout-adobe.c aout-arm.c aout-cris.c aout-ns32k.c aout-sparcle.c aout-tic30.c aout0.c aout32.c armnetbsd.c bout.c cf-i386lynx.c cf-m68klynx.c cf-sparclynx.c coff-a29k.c coff-apollo.c coff-arm.c coff-aux.c coff-h8300.c coff-h8500.c coff-i386.c coff-i860.c coff-go32.c coff-i960.c coff-m68k.c coff-m88k.c coff-mips.c coff-or32.c coff-rs6000.c coff-sh.c coff-sparc.c coff-stgo32.c coff-svm68k.c coff-tic30.c coff-tic4x.c coff-tic54x.c coff-tic80.c coff-u68k.c coff-we32k.c coff-w65.c coff-z8k.c cofflink.c dwarf1.c ecoff.c ecofflink.c efi-app-ia32.c elf.c elf32-arc.c elfarm-oabi.c elfarm-nabi.c elfarmqnx-nabi.c elf32-avr.c elf32-cris.c elf32-d10v.c elf32-d30v.c elf32-dlx.c elf32-fr30.c elf32-frv.c elf32-gen.c elf32-h8300.c elf32-hppa.c elf32-i370.c elf32-i386.c elf32-i386qnx.c elf32-i860.c elf32-i960.c elf32-ip2k.c elf32-m32r.c elf32-m68k.c elf32-m68hc11.c elf32-m68hc12.c elf32-m88k.c elf-m10200.c elf-m10300.c elf32-mcore.c elfxx-mips.c elf32-mips.c elf32-openrisc.c elf32-or32.c elf32-pj.c elf32-ppc.c elf32-ppcqnx.c elf32-sh64.c elf32-sh64-com.c elf32-s390.c elf32-sh.c elf32-sh-lin.c elf32-sh-nbsd.c elf32-sh64-nbsd.c elf32-shqnx.c elf32-sparc.c elf32-v850.c elf32-vax.c elf32-xstormy16.c elf32.c elflink.c elf-strtab.c elf-eh-frame.c epoc-pe-arm.c epoc-pei-arm.c hp300bsd.c hp300hpux.c som.c i386aout.c i386bsd.c i386dynix.c i386freebsd.c i386linux.c i386lynx.c i386msdos.c i386netbsd.c i386mach3.c i386os9k.c ieee.c m68k4knetbsd.c m68klinux.c m68klynx.c m68knetbsd.c m88kmach3.c mipsbsd.c newsos3.c nlm.c nlm32-i386.c nlm32-sparc.c nlm32-ppc.c nlm32.c ns32knetbsd.c oasys.c pc532-mach.c pdp11.c pe-arm.c pei-arm.c pe-i386.c pei-i386.c pe-mcore.c pei-mcore.c pe-ppc.c pei-ppc.c pe-sh.c pei-sh.c pe-mips.c pei-mips.c ppcboot.c reloc16.c riscix.c sparclinux.c sparclynx.c sparcnetbsd.c sunos.c vaxnetbsd.c vax1knetbsd.c vaxbsd.c versados.c vms.c vms-gsd.c vms-hdr.c vms-misc.c vms-tir.c xcofflink.c - - - # The .o files needed by all of the 64 bit vectors that are configured into - # target_vector in targets.c if configured with --enable-targets=all - # and --enable-64-bit-bfd. --BFD64_BACKENDS = \ -- aix5ppc-core.lo \ -- aout64.lo \ -- coff-alpha.lo \ -- coff64-rs6000.lo \ -- demo64.lo \ -- efi-app-ia64.lo \ -- elf64-x86-64.lo \ -- elf64-alpha.lo \ -- elf64-hppa.lo \ -- elf64-ia64.lo \ -- elf64-gen.lo \ -- elfn32-mips.lo \ -- elf64-mips.lo \ -- elf64-mmix.lo \ -- elf64-sh64.lo \ -- elf64-sh64-nbsd.lo \ -- elf64-ppc.lo \ -- elf64-s390.lo \ -- elf64-sparc.lo \ -- elf64.lo \ -- mmo.lo \ -- nlm32-alpha.lo \ -- nlm64.lo \ -- pepigen.lo -- -- --BFD64_BACKENDS_CFILES = \ -- aix5ppc-core.c \ -- aout64.c \ -- coff-alpha.c \ -- coff64-rs6000.c \ -- demo64.c \ -- efi-app-ia64.c \ -- elf64-x86-64.c \ -- elf64-alpha.c \ -- elf64-hppa.c \ -- elf64-gen.c \ -- elfn32-mips.c \ -- elf64-mips.c \ -- elf64-mmix.c \ -- elf64-ppc.c \ -- elf64-s390.c \ -- elf64-sh64.c \ -- elf64-sh64-nbsd.c \ -- elf64-sparc.c \ -- elf64.c \ -- mmo.c \ -- nlm32-alpha.c \ -- nlm64.c -- -- --OPTIONAL_BACKENDS = \ -- aix386-core.lo \ -- hpux-core.lo \ -- irix-core.lo \ -- lynx-core.lo \ -- osf-core.lo \ -- sco5-core.lo \ -- trad-core.lo \ -- cisco-core.lo -- -- --OPTIONAL_BACKENDS_CFILES = \ -- aix386-core.c \ -- hpux-core.c \ -- irix-core.c \ -- lynx-core.c \ -- osf-core.c \ -- sco5-core.c \ -- trad-core.c \ -- cisco-core.c -+BFD64_BACKENDS = aix5ppc-core.lo aout64.lo coff-alpha.lo coff64-rs6000.lo demo64.lo efi-app-ia64.lo elf64-x86-64.lo elf64-alpha.lo elf64-hppa.lo elf64-ia64.lo elf64-gen.lo elfn32-mips.lo elf64-mips.lo elf64-mmix.lo elf64-sh64.lo elf64-sh64-nbsd.lo elf64-ppc.lo elf64-s390.lo elf64-sparc.lo elf64.lo mmo.lo nlm32-alpha.lo nlm64.lo pepigen.lo -+ -+ -+BFD64_BACKENDS_CFILES = aix5ppc-core.c aout64.c coff-alpha.c coff64-rs6000.c demo64.c efi-app-ia64.c elf64-x86-64.c elf64-alpha.c elf64-hppa.c elf64-gen.c elfn32-mips.c elf64-mips.c elf64-mmix.c elf64-ppc.c elf64-s390.c elf64-sh64.c elf64-sh64-nbsd.c elf64-sparc.c elf64.c mmo.c nlm32-alpha.c nlm64.c -+ -+ -+OPTIONAL_BACKENDS = aix386-core.lo hpux-core.lo irix-core.lo lynx-core.lo osf-core.lo sco5-core.lo trad-core.lo cisco-core.lo -+ -+ -+OPTIONAL_BACKENDS_CFILES = aix386-core.c hpux-core.c irix-core.c lynx-core.c osf-core.c sco5-core.c trad-core.c cisco-core.c - - - # These are defined by configure.in: -@@ -693,33 +203,18 @@ TDEFAULTS = @tdefaults@ - INCLUDES = -D_GNU_SOURCE @HDEFINES@ @COREFLAG@ @TDEFINES@ $(CSEARCH) $(CSWITCHES) -I$(srcdir)/../intl -I../intl - - # C source files that correspond to .o's. --SOURCE_CFILES = \ -- $(BFD32_LIBS_CFILES) \ -- $(BFD64_LIBS_CFILES) \ -- $(ALL_MACHINES_CFILES) \ -- $(BFD32_BACKENDS_CFILES) \ -- $(BFD64_BACKENDS_CFILES) \ -- $(OPTIONAL_BACKENDS_CFILES) -+SOURCE_CFILES = $(BFD32_LIBS_CFILES) $(BFD64_LIBS_CFILES) $(ALL_MACHINES_CFILES) $(BFD32_BACKENDS_CFILES) $(BFD64_BACKENDS_CFILES) $(OPTIONAL_BACKENDS_CFILES) - - --BUILD_CFILES = \ -- elf32-ia64.c elf64-ia64.c peigen.c pepigen.c -+BUILD_CFILES = elf32-ia64.c elf64-ia64.c peigen.c pepigen.c - - - CFILES = $(SOURCE_CFILES) $(BUILD_CFILES) - --SOURCE_HFILES = \ -- aout-target.h aoutf1.h aoutx.h coffcode.h coffswap.h ecoffswap.h \ -- elf-bfd.h elf-hppa.h elf32-arm.h elf32-hppa.h elf64-hppa.h \ -- elfcode.h elfcore.h elflink.h freebsd.h genlink.h go32stub.h \ -- libaout.h libbfd.h libcoff.h libecoff.h libhppa.h \ -- libieee.h libnlm.h liboasys.h libpei.h netbsd.h nlm-target.h \ -- nlmcode.h nlmswap.h ns32k.h peicode.h som.h vms.h libxcoff.h \ -- xcoff-target.h version.h -+SOURCE_HFILES = aout-target.h aoutf1.h aoutx.h coffcode.h coffswap.h ecoffswap.h elf-bfd.h elf-hppa.h elf32-arm.h elf32-hppa.h elf64-hppa.h elfcode.h elfcore.h elflink.h freebsd.h genlink.h go32stub.h libaout.h libbfd.h libcoff.h libecoff.h libhppa.h libieee.h libnlm.h liboasys.h libpei.h netbsd.h nlm-target.h nlmcode.h nlmswap.h ns32k.h peicode.h som.h vms.h libxcoff.h xcoff-target.h version.h - - --BUILD_HFILES = \ -- elf32-target.h elf64-target.h targmatch.h -+BUILD_HFILES = elf32-target.h elf64-target.h targmatch.h - - - HFILES = $(SOURCE_HFILES) $(BUILD_HFILES) -@@ -749,8 +244,7 @@ libbfd_a_SOURCES = - BFD_H_DEPS = $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h - LOCAL_H_DEPS = libbfd.h sysdep.h config.h - --BFD_H_FILES = bfd-in.h init.c opncls.c libbfd.c section.c archures.c \ -- reloc.c syms.c bfd.c archive.c corefile.c targets.c format.c version.h -+BFD_H_FILES = bfd-in.h init.c opncls.c libbfd.c section.c archures.c reloc.c syms.c bfd.c archive.c corefile.c targets.c format.c version.h - - BFD64_H_FILES = archive64.c - LIBBFD_H_FILES = libbfd-in.h init.c libbfd.c cache.c reloc.c archures.c elf.c -@@ -758,8 +252,7 @@ LIBCOFF_H_FILES = libcoff-in.h coffcode. - - MOSTLYCLEANFILES = ofiles stamp-ofiles - --CLEANFILES = bfd.h dep.sed stmp-bfd-h DEP DEPA DEP1 DEP2 libbfd.a stamp-lib \ -- stmp-bin2-h stmp-lbfd-h stmp-lcoff-h -+CLEANFILES = bfd.h dep.sed stmp-bfd-h DEP DEPA DEP1 DEP2 libbfd.a stamp-lib stmp-bin2-h stmp-lbfd-h stmp-lcoff-h - - - DISTCLEANFILES = $(BUILD_CFILES) $(BUILD_HFILES) -@@ -1267,8 +760,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/cli/cli-decode.c.orig 2004-10-20 17:12:50.000000000 -0600 ++++ ./gdb/cli/cli-decode.c +@@ -1265,8 +1265,6 @@ deprecated_cmd_warning (char **text) + struct cmd_list_element *alias = NULL; + struct cmd_list_element *prefix_cmd = NULL; + struct cmd_list_element *cmd = NULL; +- struct cmd_list_element *c; +- char *type; + + if (!lookup_cmd_composition (*text, &alias, &prefix_cmd, &cmd)) + /* return if text doesn't evaluate to a command */ diff --git a/devel/gdbada/patches/patch-ad b/devel/gdbada/patches/patch-ad index 83bdc53c364..87e0f9ee071 100644 --- a/devel/gdbada/patches/patch-ad +++ b/devel/gdbada/patches/patch-ad @@ -1,27 +1,28 @@ -$NetBSD: patch-ad,v 1.1.1.1 2004/06/03 11:16:43 shannonjr Exp $ +$NetBSD: patch-ad,v 1.2 2005/11/13 14:16:05 shannonjr Exp $ ---- etc/Makefile.in.orig 2002-01-26 21:35:45.000000000 +0000 -+++ etc/Makefile.in -@@ -67,20 +67,8 @@ info: - fi; \ - done +--- gdb/cli/cli-dump.c.orig 2004-10-20 17:12:51.000000000 -0600 ++++ gdb/cli/cli-dump.c +@@ -72,7 +72,6 @@ scan_expression_with_cleanup (char **cmd + static void + do_fclose_cleanup (void *arg) + { +- FILE *file = arg; + fclose (arg); + } --install-info: info -- $(SHELL) $(srcdir)/../mkinstalldirs $(infodir) -- if test ! -f standards.info; then cd $(srcdir); fi; \ -- if test -f standards.info; then \ -- for i in standards.info*; do \ -- $(INSTALL_DATA) $$i $(infodir)/$$i; \ -- done; \ -- fi -- if test ! -f configure.info; then cd $(srcdir); fi; \ -- if test -f configure.info; then \ -- for i in configure.info*; do \ -- $(INSTALL_DATA) $$i $(infodir)/$$i; \ -- done; \ -- fi -+install-info: -+ true +@@ -233,7 +232,6 @@ dump_memory_to_file (char *cmd, char *mo + void *buf; + char *lo_exp; + char *hi_exp; +- int len; + + /* Open the file. */ + filename = scan_filename_with_cleanup (&cmd, NULL); +@@ -521,7 +519,6 @@ static void + restore_binary_file (char *filename, struct callback_data *data) + { + FILE *file = fopen_with_cleanup (filename, FOPEN_RB); +- int status; + char *buf; + long len; - dvi: - for f in $(DVIFILES); do \ diff --git a/devel/gdbada/patches/patch-ae b/devel/gdbada/patches/patch-ae index 416d1955207..13b1ee1fad5 100644 --- a/devel/gdbada/patches/patch-ae +++ b/devel/gdbada/patches/patch-ae @@ -1,15 +1,15 @@ -$NetBSD: patch-ae,v 1.1.1.1 2004/06/03 11:16:43 shannonjr Exp $ +$NetBSD: patch-ae,v 1.2 2005/11/13 14:16:05 shannonjr Exp $ ---- opcodes/Makefile.am.orig 2002-08-28 10:38:50.000000000 +0000 -+++ opcodes/Makefile.am -@@ -312,8 +312,8 @@ install_libopcodes: $(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) $(INCDIR)/dis-asm.h $(DESTDIR)$(bfdincludedir)/dis-asm.h +--- gdb/cli/cli-script.c.orig 2004-10-20 17:12:51.000000000 -0600 ++++ gdb/cli/cli-script.c +@@ -1083,9 +1083,8 @@ define_command (char *comname, int from_ + CMD_POST_HOOK + }; + struct command_line *cmds; +- struct cmd_list_element *c, *newc, *oldc, *hookc = 0; ++ struct cmd_list_element *c, *newc, *hookc = 0; + char *tem = comname; +- char *tem2; + char tmpbuf[MAX_TMPBUF]; + int hook_type = CMD_NO_HOOK; + int hook_name_size = 0; diff --git a/devel/gdbada/patches/patch-af b/devel/gdbada/patches/patch-af index 265bd622fc5..856038d03b3 100644 --- a/devel/gdbada/patches/patch-af +++ b/devel/gdbada/patches/patch-af @@ -1,318 +1,13 @@ -$NetBSD: patch-af,v 1.1.1.1 2004/06/03 11:16:43 shannonjr Exp $ +$NetBSD: patch-af,v 1.2 2005/11/13 14:16:05 shannonjr Exp $ ---- opcodes/Makefile.in.orig 2003-03-10 21:25:02.000000000 +0000 -+++ opcodes/Makefile.in -@@ -133,244 +133,14 @@ BFD_H = ../bfd/bfd.h - LIBIBERTY = ../libiberty/libiberty.a - - # Header files. --HFILES = \ -- arm-opc.h \ -- fr30-desc.h fr30-opc.h \ -- frv-desc.h frv-opc.h \ -- h8500-opc.h \ -- ia64-asmtab.h \ -- ia64-opc.h \ -- ip2k-desc.h ip2k-opc.h \ -- m32r-desc.h m32r-opc.h \ -- mcore-opc.h \ -- openrisc-desc.h openrisc-opc.h \ -- sh-opc.h \ -- sh64-opc.h \ -- sysdep.h \ -- w65-opc.h \ -- xstormy16-desc.h xstormy16-opc.h \ -- z8k-opc.h -+HFILES = arm-opc.h fr30-desc.h fr30-opc.h frv-desc.h frv-opc.h h8500-opc.h ia64-asmtab.h ia64-opc.h ip2k-desc.h ip2k-opc.h m32r-desc.h m32r-opc.h mcore-opc.h openrisc-desc.h openrisc-opc.h sh-opc.h sh64-opc.h sysdep.h w65-opc.h xstormy16-desc.h xstormy16-opc.h z8k-opc.h - - - # C source files that correspond to .o's. --CFILES = \ -- a29k-dis.c \ -- alpha-dis.c \ -- alpha-opc.c \ -- arc-dis.c \ -- arc-opc.c \ -- arc-ext.c \ -- arm-dis.c \ -- avr-dis.c \ -- cgen-asm.c \ -- cgen-dis.c \ -- cgen-opc.c \ -- cris-dis.c \ -- cris-opc.c \ -- d10v-dis.c \ -- d10v-opc.c \ -- d30v-dis.c \ -- d30v-opc.c \ -- dlx-dis.c \ -- dis-buf.c \ -- disassemble.c \ -- fr30-asm.c \ -- fr30-desc.c \ -- fr30-dis.c \ -- fr30-ibld.c \ -- fr30-opc.c \ -- frv-asm.c \ -- frv-desc.c \ -- frv-dis.c \ -- frv-ibld.c \ -- frv-opc.c \ -- h8300-dis.c \ -- h8500-dis.c \ -- hppa-dis.c \ -- i370-dis.c \ -- i370-opc.c \ -- i386-dis.c \ -- i860-dis.c \ -- i960-dis.c \ -- ia64-dis.c \ -- ia64-opc-a.c \ -- ia64-opc-b.c \ -- ia64-opc-f.c \ -- ia64-opc-i.c \ -- ia64-opc-m.c \ -- ia64-opc-d.c \ -- ia64-opc.c \ -- ia64-gen.c \ -- ia64-asmtab.c \ -- ip2k-asm.c \ -- ip2k-desc.c \ -- ip2k-dis.c \ -- ip2k-ibld.c \ -- ip2k-opc.c \ -- m32r-asm.c \ -- m32r-desc.c \ -- m32r-dis.c \ -- m32r-ibld.c \ -- m32r-opc.c \ -- m32r-opinst.c \ -- m68hc11-dis.c \ -- m68hc11-opc.c \ -- m68k-dis.c \ -- m68k-opc.c \ -- m88k-dis.c \ -- mcore-dis.c \ -- mips-dis.c \ -- mips-opc.c \ -- mips16-opc.c \ -- m10200-dis.c \ -- m10200-opc.c \ -- m10300-dis.c \ -- m10300-opc.c \ -- mmix-dis.c \ -- mmix-opc.c \ -- ns32k-dis.c \ -- openrisc-asm.c \ -- openrisc-desc.c \ -- openrisc-dis.c \ -- openrisc-ibld.c \ -- openrisc-opc.c \ -- or32-dis.c \ -- or32-opc.c \ -- pdp11-dis.c \ -- pdp11-opc.c \ -- pj-dis.c \ -- pj-opc.c \ -- ppc-dis.c \ -- ppc-opc.c \ -- s390-mkopc.c \ -- s390-opc.c \ -- s390-dis.c \ -- sh-dis.c \ -- sh64-dis.c \ -- sh64-opc.c \ -- sparc-dis.c \ -- sparc-opc.c \ -- tic30-dis.c \ -- tic4x-dis.c \ -- tic54x-dis.c \ -- tic54x-opc.c \ -- tic80-dis.c \ -- tic80-opc.c \ -- v850-dis.c \ -- v850-opc.c \ -- vax-dis.c \ -- w65-dis.c \ -- xstormy16-asm.c \ -- xstormy16-desc.c \ -- xstormy16-dis.c \ -- xstormy16-ibld.c \ -- xstormy16-opc.c \ -- z8k-dis.c \ -- z8kgen.c +--- gdb/cli/cli-setshow.c.orig 2004-10-20 17:12:52.000000000 -0600 ++++ gdb/cli/cli-setshow.c +@@ -276,8 +276,6 @@ do_setshow_command (char *arg, int from_ + { + case var_string: + { +- unsigned char *p; - -- --ALL_MACHINES = \ -- a29k-dis.lo \ -- alpha-dis.lo \ -- alpha-opc.lo \ -- arc-dis.lo \ -- arc-opc.lo \ -- arc-ext.lo \ -- arm-dis.lo \ -- avr-dis.lo \ -- cgen-asm.lo \ -- cgen-dis.lo \ -- cgen-opc.lo \ -- cris-dis.lo \ -- cris-opc.lo \ -- d10v-dis.lo \ -- d10v-opc.lo \ -- d30v-dis.lo \ -- d30v-opc.lo \ -- dlx-dis.lo \ -- fr30-asm.lo \ -- fr30-desc.lo \ -- fr30-dis.lo \ -- fr30-ibld.lo \ -- fr30-opc.lo \ -- frv-asm.lo \ -- frv-desc.lo \ -- frv-dis.lo \ -- frv-ibld.lo \ -- frv-opc.lo \ -- h8300-dis.lo \ -- h8500-dis.lo \ -- hppa-dis.lo \ -- i386-dis.lo \ -- i370-dis.lo \ -- i370-opc.lo \ -- i860-dis.lo \ -- i960-dis.lo \ -- ia64-dis.lo \ -- ia64-opc.lo \ -- ip2k-asm.lo \ -- ip2k-desc.lo \ -- ip2k-dis.lo \ -- ip2k-ibld.lo \ -- ip2k-opc.lo \ -- m32r-asm.lo \ -- m32r-desc.lo \ -- m32r-dis.lo \ -- m32r-ibld.lo \ -- m32r-opc.lo \ -- m32r-opinst.lo \ -- m68hc11-dis.lo \ -- m68hc11-opc.lo \ -- m68k-dis.lo \ -- m68k-opc.lo \ -- m88k-dis.lo \ -- m10200-dis.lo \ -- m10200-opc.lo \ -- m10300-dis.lo \ -- m10300-opc.lo \ -- mcore-dis.lo \ -- mips-dis.lo \ -- mips-opc.lo \ -- mips16-opc.lo \ -- mmix-dis.lo \ -- mmix-opc.lo \ -- ns32k-dis.lo \ -- openrisc-asm.lo \ -- openrisc-desc.lo \ -- openrisc-dis.lo \ -- openrisc-ibld.lo \ -- openrisc-opc.lo \ -- or32-dis.lo \ -- or32-opc.lo \ -- pdp11-dis.lo \ -- pdp11-opc.lo \ -- pj-dis.lo \ -- pj-opc.lo \ -- ppc-dis.lo \ -- ppc-opc.lo \ -- s390-dis.lo \ -- s390-opc.lo \ -- sh-dis.lo \ -- sh64-dis.lo \ -- sh64-opc.lo \ -- sparc-dis.lo \ -- sparc-opc.lo \ -- tic30-dis.lo \ -- tic4x-dis.lo \ -- tic54x-dis.lo \ -- tic54x-opc.lo \ -- tic80-dis.lo \ -- tic80-opc.lo \ -- v850-dis.lo \ -- v850-opc.lo \ -- vax-dis.lo \ -- w65-dis.lo \ -- xstormy16-asm.lo \ -- xstormy16-desc.lo \ -- xstormy16-dis.lo \ -- xstormy16-ibld.lo \ -- xstormy16-opc.lo \ -- z8k-dis.lo -+CFILES = a29k-dis.c alpha-dis.c alpha-opc.c arc-dis.c arc-opc.c arc-ext.c arm-dis.c avr-dis.c cgen-asm.c cgen-dis.c cgen-opc.c cris-dis.c cris-opc.c d10v-dis.c d10v-opc.c d30v-dis.c d30v-opc.c dlx-dis.c dis-buf.c disassemble.c fr30-asm.c fr30-desc.c fr30-dis.c fr30-ibld.c fr30-opc.c frv-asm.c frv-desc.c frv-dis.c frv-ibld.c frv-opc.c h8300-dis.c h8500-dis.c hppa-dis.c i370-dis.c i370-opc.c i386-dis.c i860-dis.c i960-dis.c ia64-dis.c ia64-opc-a.c ia64-opc-b.c ia64-opc-f.c ia64-opc-i.c ia64-opc-m.c ia64-opc-d.c ia64-opc.c ia64-gen.c ia64-asmtab.c ip2k-asm.c ip2k-desc.c ip2k-dis.c ip2k-ibld.c ip2k-opc.c m32r-asm.c m32r-desc.c m32r-dis.c m32r-ibld.c m32r-opc.c m32r-opinst.c m68hc11-dis.c m68hc11-opc.c m68k-dis.c m68k-opc.c m88k-dis.c mcore-dis.c mips-dis.c mips-opc.c mips16-opc.c m10200-dis.c m10200-opc.c m10300-dis.c m10300-opc.c mmix-dis.c mmix-opc.c ns32k-dis.c openrisc-asm.c openrisc-desc.c openrisc-dis.c openrisc-ibld.c openrisc-opc.c or32-dis.c or32-opc.c pdp11-dis.c pdp11-opc.c pj-dis.c pj-opc.c ppc-dis.c ppc-opc.c s390-mkopc.c s390-opc.c s390-dis.c sh-dis.c sh64-dis.c sh64-opc.c sparc-dis.c sparc-opc.c tic30-dis.c tic4x-dis.c tic54x-dis.c tic54x-opc.c tic80-dis.c tic80-opc.c v850-dis.c v850-opc.c vax-dis.c w65-dis.c xstormy16-asm.c xstormy16-desc.c xstormy16-dis.c xstormy16-ibld.c xstormy16-opc.c z8k-dis.c z8kgen.c -+ -+ -+ALL_MACHINES = a29k-dis.lo alpha-dis.lo alpha-opc.lo arc-dis.lo arc-opc.lo arc-ext.lo arm-dis.lo avr-dis.lo cgen-asm.lo cgen-dis.lo cgen-opc.lo cris-dis.lo cris-opc.lo d10v-dis.lo d10v-opc.lo d30v-dis.lo d30v-opc.lo dlx-dis.lo fr30-asm.lo fr30-desc.lo fr30-dis.lo fr30-ibld.lo fr30-opc.lo frv-asm.lo frv-desc.lo frv-dis.lo frv-ibld.lo frv-opc.lo h8300-dis.lo h8500-dis.lo hppa-dis.lo i386-dis.lo i370-dis.lo i370-opc.lo i860-dis.lo i960-dis.lo ia64-dis.lo ia64-opc.lo ip2k-asm.lo ip2k-desc.lo ip2k-dis.lo ip2k-ibld.lo ip2k-opc.lo m32r-asm.lo m32r-desc.lo m32r-dis.lo m32r-ibld.lo m32r-opc.lo m32r-opinst.lo m68hc11-dis.lo m68hc11-opc.lo m68k-dis.lo m68k-opc.lo m88k-dis.lo m10200-dis.lo m10200-opc.lo m10300-dis.lo m10300-opc.lo mcore-dis.lo mips-dis.lo mips-opc.lo mips16-opc.lo mmix-dis.lo mmix-opc.lo ns32k-dis.lo openrisc-asm.lo openrisc-desc.lo openrisc-dis.lo openrisc-ibld.lo openrisc-opc.lo or32-dis.lo or32-opc.lo pdp11-dis.lo pdp11-opc.lo pj-dis.lo pj-opc.lo ppc-dis.lo ppc-opc.lo s390-dis.lo s390-opc.lo sh-dis.lo sh64-dis.lo sh64-opc.lo sparc-dis.lo sparc-opc.lo tic30-dis.lo tic4x-dis.lo tic54x-dis.lo tic54x-opc.lo tic80-dis.lo tic80-opc.lo v850-dis.lo v850-opc.lo vax-dis.lo w65-dis.lo xstormy16-asm.lo xstormy16-desc.lo xstormy16-dis.lo xstormy16-ibld.lo xstormy16-opc.lo z8k-dis.lo - - - OFILES = @BFD_MACHINES@ -@@ -391,10 +161,7 @@ noinst_LIBRARIES = libopcodes.a - - POTFILES = $(HFILES) $(CFILES) - --CLEANFILES = \ -- stamp-ip2k stamp-m32r stamp-fr30 stamp-frv stamp-openrisc \ -- stamp-xstormy16 \ -- libopcodes.a stamp-lib dep.sed DEP DEPA DEP1 DEP2 -+CLEANFILES = stamp-ip2k stamp-m32r stamp-fr30 stamp-frv stamp-openrisc stamp-xstormy16 libopcodes.a stamp-lib dep.sed DEP DEPA DEP1 DEP2 - - - CGENDIR = @cgendir@ -@@ -402,24 +169,19 @@ CPUDIR = $(CGENDIR)/cpu - CGEN = `if test -f ../guile/libguile/guile ; then echo ../guile/libguile/guile; else echo guile ; fi` - CGENFLAGS = -v - --CGENDEPS = \ -- $(CGENDIR)/desc.scm $(CGENDIR)/desc-cpu.scm \ -- $(CGENDIR)/opcodes.scm $(CGENDIR)/opc-asmdis.scm \ -- $(CGENDIR)/opc-ibld.scm $(CGENDIR)/opc-itab.scm \ -- $(CGENDIR)/opc-opinst.scm \ -- cgen-asm.in cgen-dis.in cgen-ibld.in -+CGENDEPS = $(CGENDIR)/desc.scm $(CGENDIR)/desc-cpu.scm $(CGENDIR)/opcodes.scm $(CGENDIR)/opc-asmdis.scm $(CGENDIR)/opc-ibld.scm $(CGENDIR)/opc-itab.scm $(CGENDIR)/opc-opinst.scm cgen-asm.in cgen-dis.in cgen-ibld.in - --@CGEN_MAINT_TRUE@IP2K_DEPS = @CGEN_MAINT_TRUE@stamp-ip2k -+@CGEN_MAINT_TRUE@IP2K_DEPS = stamp-ip2k - @CGEN_MAINT_FALSE@IP2K_DEPS = --@CGEN_MAINT_TRUE@M32R_DEPS = @CGEN_MAINT_TRUE@stamp-m32r -+@CGEN_MAINT_TRUE@M32R_DEPS = stamp-m32r - @CGEN_MAINT_FALSE@M32R_DEPS = --@CGEN_MAINT_TRUE@FR30_DEPS = @CGEN_MAINT_TRUE@stamp-fr30 -+@CGEN_MAINT_TRUE@FR30_DEPS = stamp-fr30 - @CGEN_MAINT_FALSE@FR30_DEPS = --@CGEN_MAINT_TRUE@FRV_DEPS = @CGEN_MAINT_TRUE@stamp-frv -+@CGEN_MAINT_TRUE@FRV_DEPS = stamp-frv - @CGEN_MAINT_FALSE@FRV_DEPS = --@CGEN_MAINT_TRUE@OPENRISC_DEPS = @CGEN_MAINT_TRUE@stamp-openrisc -+@CGEN_MAINT_TRUE@OPENRISC_DEPS = stamp-openrisc - @CGEN_MAINT_FALSE@OPENRISC_DEPS = --@CGEN_MAINT_TRUE@XSTORMY16_DEPS = @CGEN_MAINT_TRUE@stamp-xstormy16 -+@CGEN_MAINT_TRUE@XSTORMY16_DEPS = stamp-xstormy16 - @CGEN_MAINT_FALSE@XSTORMY16_DEPS = - ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 - mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs -@@ -449,7 +211,7 @@ acinclude.m4 aclocal.m4 config.in config - - DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - --TAR = gtar -+TAR = tar - GZIP_ENV = --best - SOURCES = libopcodes.a.c $(libopcodes_la_SOURCES) - OBJECTS = libopcodes.a.$(OBJEXT) $(libopcodes_la_OBJECTS) -@@ -842,8 +604,8 @@ install_libopcodes: $(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) $(INCDIR)/dis-asm.h $(DESTDIR)$(bfdincludedir)/dis-asm.h + if (*(unsigned char **) c->var) + fputstr_filtered (*(unsigned char **) c->var, '"', stb->stream); + quote = 1; diff --git a/devel/gdbada/patches/patch-ag b/devel/gdbada/patches/patch-ag index 1a581cf76d0..ea7cde0e804 100644 --- a/devel/gdbada/patches/patch-ag +++ b/devel/gdbada/patches/patch-ag @@ -1,32 +1,21 @@ -$NetBSD: patch-ag,v 1.1 2005/04/12 10:13:36 shannonjr Exp $ +$NetBSD: patch-ag,v 1.2 2005/11/13 14:16:05 shannonjr Exp $ ---- gdb/i386bsd-nat.c.orig 2003-01-16 02:46:34.000000000 -0700 -+++ gdb/i386bsd-nat.c -@@ -150,6 +150,9 @@ fill_gregset (gregset_t *gregsetp, int r - } +--- gdb/cli/cli-cmds.c.orig 2004-10-20 17:51:34.000000000 -0600 ++++ gdb/cli/cli-cmds.c +@@ -225,7 +225,6 @@ compare_strings (const void *arg1, const + static void + complete_command (char *arg, int from_tty) + { +- int i; + int argpoint; + char **completions, *point, *arg_prefix; - #include "i387-tdep.h" -+#ifdef HAVE_SYS_PROCFS_H -+#include <sys/procfs.h> -+#endif - - /* Fill GDB's register array with the floating-point register values - in *FPREGSETP. */ -@@ -419,7 +422,7 @@ _initialize_i386bsd_nat (void) - - /* Override the default value for the offset of the program counter - in the sigcontext structure. */ -- sc_pc_offset = offsetof (struct sigcontext, sc_pc); -+ sc_pc_offset = offsetof (ucontext_t, uc_mcontext.__gregs[_REG_EIP]); - - if (SC_PC_OFFSET != sc_pc_offset) - { -@@ -432,7 +435,7 @@ Please report this to <bug-gdb@gnu.org>. - SC_PC_OFFSET = sc_pc_offset; - - /* Likewise for the stack pointer. */ -- sc_sp_offset = offsetof (struct sigcontext, sc_sp); -+ sc_pc_offset = offsetof (ucontext_t, uc_mcontext.__gregs[_REG_UESP]); - - if (SC_SP_OFFSET != sc_sp_offset) - { +@@ -841,7 +840,7 @@ disassemble_command (char *arg, int from + { + CORE_ADDR low, high; + char *name; +- CORE_ADDR pc, pc_masked; ++ CORE_ADDR pc; + char *space_index; + #if 0 + asection *section; diff --git a/devel/gdbada/patches/patch-ai b/devel/gdbada/patches/patch-ai new file mode 100644 index 00000000000..1a93e4df81d --- /dev/null +++ b/devel/gdbada/patches/patch-ai @@ -0,0 +1,20 @@ +$NetBSD: patch-ai,v 1.1 2005/11/13 14:16:05 shannonjr Exp $ + +--- gdb/corelow.c.orig 2004-10-20 17:11:44.000000000 -0600 ++++ gdb/corelow.c +@@ -506,7 +506,6 @@ get_core_register_section (char *name, + static void + get_core_registers (int regno) + { +- int status; + + if (!(core_gdbarch && gdbarch_regset_from_core_section_p (core_gdbarch)) + && (core_vec == NULL || core_vec->core_read_registers == NULL)) +@@ -553,7 +552,6 @@ core_xfer_partial (struct target_ops *op + + struct bfd_section *section; + bfd_size_type size; +- char *contents; + + section = bfd_get_section_by_name (core_bfd, ".auxv"); + if (section == NULL) diff --git a/devel/gdbada/patches/patch-aj b/devel/gdbada/patches/patch-aj new file mode 100644 index 00000000000..6674bb9cf1d --- /dev/null +++ b/devel/gdbada/patches/patch-aj @@ -0,0 +1,11 @@ +$NetBSD: patch-aj,v 1.1 2005/11/13 14:16:05 shannonjr Exp $ + +--- gdb/config/i386/nbsdelf.mh.orig 2004-10-20 17:13:02.000000000 -0600 ++++ gdb/config/i386/nbsdelf.mh +@@ -1,5 +1,5 @@ + # Host: NetBSD/i386 ELF +-NATDEPFILES= fork-child.o inf-ptrace.o \ ++NATDEPFILES= fork-child.o nbsd-nat.o inf-ptrace.o \ + i386bsd-nat.o i386nbsd-nat.o bsd-kvm.o + NAT_FILE= solib.h + diff --git a/devel/gdbada/patches/patch-ak b/devel/gdbada/patches/patch-ak new file mode 100644 index 00000000000..b6ea795d7c9 --- /dev/null +++ b/devel/gdbada/patches/patch-ak @@ -0,0 +1,12 @@ +$NetBSD: patch-ak,v 1.1 2005/11/13 14:16:05 shannonjr Exp $ + +--- gdb/i386nbsd-tdep.c.orig 2004-10-20 17:12:06.000000000 -0600 ++++ gdb/i386nbsd-tdep.c +@@ -137,7 +137,6 @@ i386nbsd_sigtramp_offset (struct frame_i + CORE_ADDR pc = frame_pc_unwind (next_frame); + unsigned char ret[sizeof(sigtramp_retcode)], insn; + LONGEST off; +- int i; + + if (!safe_frame_unwind_memory (next_frame, pc, &insn, 1)) + return -1; diff --git a/devel/gdbada/patches/patch-al b/devel/gdbada/patches/patch-al new file mode 100644 index 00000000000..d9085b79c8f --- /dev/null +++ b/devel/gdbada/patches/patch-al @@ -0,0 +1,12 @@ +$NetBSD: patch-al,v 1.1 2005/11/13 14:16:05 shannonjr Exp $ + +--- gdb/i387-tdep.c.orig 2004-10-20 17:12:07.000000000 -0600 ++++ gdb/i387-tdep.c +@@ -206,7 +206,6 @@ i387_print_float_info (struct gdbarch *g + struct frame_info *frame, const char *args) + { + struct gdbarch_tdep *tdep = gdbarch_tdep (get_frame_arch (frame)); +- char buf[4]; + ULONGEST fctrl; + ULONGEST fstat; + ULONGEST ftag; diff --git a/devel/gdbada/patches/patch-am b/devel/gdbada/patches/patch-am new file mode 100644 index 00000000000..821946e734a --- /dev/null +++ b/devel/gdbada/patches/patch-am @@ -0,0 +1,16 @@ +$NetBSD: patch-am,v 1.1 2005/11/13 14:16:05 shannonjr Exp $ + +--- gdb/inftarg.c.orig 2005-04-26 16:57:32.000000000 -0600 ++++ gdb/inftarg.c +@@ -100,11 +100,7 @@ child_wait (ptid_t ptid, struct target_w + { + int save_errno; + int status; +- char *execd_pathname = NULL; + int exit_status; +- int related_pid; +- int syscall_id; +- enum target_waitkind kind; + int pid; + + do diff --git a/devel/gdbada/patches/patch-an b/devel/gdbada/patches/patch-an new file mode 100644 index 00000000000..a2709e4ce5b --- /dev/null +++ b/devel/gdbada/patches/patch-an @@ -0,0 +1,22 @@ +$NetBSD: patch-an,v 1.1 2005/11/13 14:16:05 shannonjr Exp $ + +--- gdb/mi/mi-cmd-break.c.orig 2004-10-20 17:13:34.000000000 -0600 ++++ gdb/mi/mi-cmd-break.c +@@ -90,7 +90,7 @@ mi_cmd_break_insert (char *command, char + {"c", CONDITION_OPT, 1}, + {"i", IGNORE_COUNT_OPT, 1}, + {"p", THREAD_OPT, 1}, +- 0 ++ {0} + }; + + /* Parse arguments. It could be -r or -h or -t, <location> or ``--'' +@@ -194,7 +194,7 @@ mi_cmd_break_watch (char *command, char + { + {"r", READ_OPT, 0}, + {"a", ACCESS_OPT, 0}, +- 0 ++ {0} + }; + + /* Parse arguments. */ diff --git a/devel/gdbada/patches/patch-ao b/devel/gdbada/patches/patch-ao new file mode 100644 index 00000000000..8f413a8bcd0 --- /dev/null +++ b/devel/gdbada/patches/patch-ao @@ -0,0 +1,21 @@ +$NetBSD: patch-ao,v 1.1 2005/11/13 14:16:05 shannonjr Exp $ + +--- gdb/mi/mi-cmd-disas.c.orig 2004-10-20 17:13:34.000000000 -0600 ++++ gdb/mi/mi-cmd-disas.c +@@ -51,7 +51,6 @@ + enum mi_cmd_result + mi_cmd_disassemble (char *command, char **argv, int argc) + { +- enum mi_cmd_result retval; + CORE_ADDR start; + + int mixed_source_and_assembly; +@@ -84,7 +83,7 @@ mi_cmd_disassemble (char *command, char + {"n", NUM_OPT, 1}, + {"s", START_OPT, 1}, + {"e", END_OPT, 1}, +- 0 ++ {0} + }; + + /* Get the options with their arguments. Keep track of what we diff --git a/devel/gdbada/patches/patch-ap b/devel/gdbada/patches/patch-ap new file mode 100644 index 00000000000..fc37b6e5a1b --- /dev/null +++ b/devel/gdbada/patches/patch-ap @@ -0,0 +1,22 @@ +$NetBSD: patch-ap,v 1.1 2005/11/13 14:16:05 shannonjr Exp $ + +--- gdb/mi/mi-cmd-env.c.orig 2004-10-20 17:13:34.000000000 -0600 ++++ gdb/mi/mi-cmd-env.c +@@ -126,7 +126,7 @@ mi_cmd_env_path (char *command, char **a + static struct mi_opt opts[] = + { + {"r", RESET_OPT, 0}, +- 0 ++ {0} + }; + + dont_repeat (); +@@ -198,7 +198,7 @@ mi_cmd_env_dir (char *command, char **ar + static struct mi_opt opts[] = + { + {"r", RESET_OPT, 0}, +- 0 ++ {0} + }; + + dont_repeat (); diff --git a/devel/gdbada/patches/patch-aq b/devel/gdbada/patches/patch-aq new file mode 100644 index 00000000000..7d37e481f14 --- /dev/null +++ b/devel/gdbada/patches/patch-aq @@ -0,0 +1,13 @@ +$NetBSD: patch-aq,v 1.1 2005/11/13 14:16:05 shannonjr Exp $ + +--- gdb/mi/mi-cmd-file.c.orig 2004-10-20 17:13:34.000000000 -0600 ++++ gdb/mi/mi-cmd-file.c +@@ -34,8 +34,6 @@ enum mi_cmd_result + mi_cmd_file_list_exec_source_file(char *command, char **argv, int argc) + { + struct symtab_and_line st; +- int optind = 0; +- char *optarg; + + if ( !mi_valid_noargs("mi_cmd_file_list_exec_source_file", argc, argv) ) + error ("mi_cmd_file_list_exec_source_file: Usage: No args"); diff --git a/devel/gdbada/patches/patch-ar b/devel/gdbada/patches/patch-ar new file mode 100644 index 00000000000..63f0408a0ec --- /dev/null +++ b/devel/gdbada/patches/patch-ar @@ -0,0 +1,12 @@ +$NetBSD: patch-ar,v 1.1 2005/11/13 14:16:05 shannonjr Exp $ + +--- gdb/mi/mi-cmd-stack.c.orig 2004-10-20 17:13:34.000000000 -0600 ++++ gdb/mi/mi-cmd-stack.c +@@ -227,7 +227,6 @@ list_args_or_locals (int locals, int val + struct block *block; + struct symbol *sym; + struct dict_iterator iter; +- int nsyms; + struct cleanup *cleanup_list; + static struct ui_stream *stb = NULL; + struct type *type; diff --git a/devel/gdbada/patches/patch-as b/devel/gdbada/patches/patch-as new file mode 100644 index 00000000000..fee60f13a1b --- /dev/null +++ b/devel/gdbada/patches/patch-as @@ -0,0 +1,13 @@ +$NetBSD: patch-as,v 1.1 2005/11/13 14:16:05 shannonjr Exp $ + +--- gdb/mi/mi-getopt.c.orig 2004-10-20 17:13:35.000000000 -0600 ++++ gdb/mi/mi-getopt.c +@@ -82,7 +82,7 @@ mi_valid_noargs (const char *prefix, int + char *optarg; + static struct mi_opt opts[] = + { +- 0 ++ {0} + }; + + if (mi_getopt (prefix, argc, argv, opts, &optind, &optarg) == -1) diff --git a/devel/gdbada/patches/patch-at b/devel/gdbada/patches/patch-at new file mode 100644 index 00000000000..587f20dd4b9 --- /dev/null +++ b/devel/gdbada/patches/patch-at @@ -0,0 +1,12 @@ +$NetBSD: patch-at,v 1.1 2005/11/13 14:16:05 shannonjr Exp $ + +--- gdb/mi/mi-interp.c.orig 2004-10-20 17:13:36.000000000 -0600 ++++ gdb/mi/mi-interp.c +@@ -186,7 +186,6 @@ mi_cmd_interpreter_exec (char *command, + struct interp *interp_to_use; + enum mi_cmd_result result = MI_CMD_DONE; + int i; +- struct interp_procs *procs; + + if (argc < 2) + { diff --git a/devel/gdbada/patches/patch-au b/devel/gdbada/patches/patch-au new file mode 100644 index 00000000000..f877051c058 --- /dev/null +++ b/devel/gdbada/patches/patch-au @@ -0,0 +1,38 @@ +$NetBSD: patch-au,v 1.1 2005/11/13 14:16:05 shannonjr Exp $ + +--- gdb/mi/mi-main.c.orig 2004-10-20 17:13:36.000000000 -0600 ++++ gdb/mi/mi-main.c +@@ -779,7 +779,7 @@ mi_cmd_data_read_memory (char *command, + static struct mi_opt opts[] = + { + {"o", OFFSET_OPT, 1}, +- 0 ++ {0} + }; + + while (1) +@@ -981,7 +981,7 @@ mi_cmd_data_write_memory (char *command, + static struct mi_opt opts[] = + { + {"o", OFFSET_OPT, 1}, +- 0 ++ {0} + }; + + while (1) +@@ -1145,7 +1145,6 @@ mi_execute_command (char *cmd, int from_ + { + struct mi_parse *command; + struct captured_mi_execute_command_args args; +- struct ui_out *saved_uiout = uiout; + int result; + + /* This is to handle EOF (^D). We just quit gdb. */ +@@ -1173,7 +1172,6 @@ mi_execute_command (char *cmd, int from_ + if (args.action == EXECUTE_COMMAND_DISPLAY_ERROR || result < 0) + { + char *msg = error_last_message (); +- struct cleanup *cleanup = make_cleanup (xfree, msg); + /* The command execution failed and error() was called + somewhere */ + fputs_unfiltered (command->token, raw_stdout); diff --git a/devel/gdbada/patches/patch-av b/devel/gdbada/patches/patch-av new file mode 100644 index 00000000000..f5cebb336b8 --- /dev/null +++ b/devel/gdbada/patches/patch-av @@ -0,0 +1,12 @@ +$NetBSD: patch-av,v 1.1 2005/11/13 14:16:05 shannonjr Exp $ + +--- gdb/mi/mi-out.c.orig 2004-10-20 17:13:36.000000000 -0600 ++++ gdb/mi/mi-out.c +@@ -106,7 +106,6 @@ mi_table_begin (struct ui_out *uiout, + int nr_rows, + const char *tblid) + { +- mi_out_data *data = ui_out_data (uiout); + mi_open (uiout, tblid, ui_out_type_tuple); + mi_field_int (uiout, -1/*fldno*/, -1/*width*/, -1/*alin*/, + "nr_rows", nr_rows); diff --git a/devel/gdbada/patches/patch-aw b/devel/gdbada/patches/patch-aw new file mode 100644 index 00000000000..3708412875e --- /dev/null +++ b/devel/gdbada/patches/patch-aw @@ -0,0 +1,37 @@ +$NetBSD: patch-aw,v 1.1 2005/11/13 14:16:05 shannonjr Exp $ + +--- gdb/remote-fileio.c.orig 2004-10-20 17:12:27.000000000 -0600 ++++ gdb/remote-fileio.c +@@ -1279,19 +1279,19 @@ static struct { + char *name; + void (*func)(char *); + } remote_fio_func_map[] = { +- "open", remote_fileio_func_open, +- "close", remote_fileio_func_close, +- "read", remote_fileio_func_read, +- "write", remote_fileio_func_write, +- "lseek", remote_fileio_func_lseek, +- "rename", remote_fileio_func_rename, +- "unlink", remote_fileio_func_unlink, +- "stat", remote_fileio_func_stat, +- "fstat", remote_fileio_func_fstat, +- "gettimeofday", remote_fileio_func_gettimeofday, +- "isatty", remote_fileio_func_isatty, +- "system", remote_fileio_func_system, +- NULL, NULL ++ {"open", remote_fileio_func_open}, ++ {"close", remote_fileio_func_close}, ++ {"read", remote_fileio_func_read}, ++ {"write", remote_fileio_func_write}, ++ {"lseek", remote_fileio_func_lseek}, ++ {"rename", remote_fileio_func_rename}, ++ {"unlink", remote_fileio_func_unlink}, ++ {"stat", remote_fileio_func_stat}, ++ {"fstat", remote_fileio_func_fstat}, ++ {"gettimeofday", remote_fileio_func_gettimeofday}, ++ {"isatty", remote_fileio_func_isatty}, ++ {"system", remote_fileio_func_system}, ++ {NULL, NULL} + }; + + static int diff --git a/devel/gdbada/patches/patch-ax b/devel/gdbada/patches/patch-ax new file mode 100644 index 00000000000..04cc0f6a93e --- /dev/null +++ b/devel/gdbada/patches/patch-ax @@ -0,0 +1,13 @@ +$NetBSD: patch-ax,v 1.1 2005/11/13 14:16:05 shannonjr Exp $ + +--- gdb/ser-pipe.c.orig 2004-10-20 17:12:32.000000000 -0600 ++++ gdb/ser-pipe.c +@@ -132,8 +132,6 @@ pipe_close (struct serial *scb) + } + } + +-static struct serial_ops pipe_ops; +- + void + _initialize_ser_pipe (void) + { diff --git a/devel/gdbada/patches/patch-ay b/devel/gdbada/patches/patch-ay new file mode 100644 index 00000000000..a3984e21e6f --- /dev/null +++ b/devel/gdbada/patches/patch-ay @@ -0,0 +1,12 @@ +$NetBSD: patch-ay,v 1.1 2005/11/13 14:16:05 shannonjr Exp $ + +--- gdb/tui/tui-interp.c.orig 2004-10-20 17:15:24.000000000 -0600 ++++ gdb/tui/tui-interp.c +@@ -194,7 +194,6 @@ _initialize_tui_interp (void) + tui_display_prompt_p, + tui_command_loop, + }; +- struct interp *tui_interp; + + /* Create a default uiout builder for the TUI. */ + tui_out = tui_out_new (gdb_stdout); |