pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/gdb5 Copy devel/gdb to devel/gdb5 in preparation...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0e23e568b5cc
branches:  trunk
changeset: 648520:0e23e568b5cc
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Sun Mar 15 14:31:31 2015 +0000

description:
Copy devel/gdb to devel/gdb5 in preparation for importing GDB 7.9.

diffstat:

 devel/gdb5/DESCR                                    |   17 +
 devel/gdb5/Makefile                                 |   47 +
 devel/gdb5/PLIST.Linux                              |    3 +
 devel/gdb5/PLIST.common                             |   30 +
 devel/gdb5/distinfo                                 |   31 +
 devel/gdb5/patches/patch-aa                         |   35 +
 devel/gdb5/patches/patch-ab                         |   15 +
 devel/gdb5/patches/patch-ac                         |  629 ++++++++++++++++++++
 devel/gdb5/patches/patch-ad                         |   27 +
 devel/gdb5/patches/patch-ae                         |   15 +
 devel/gdb5/patches/patch-af                         |  318 ++++++++++
 devel/gdb5/patches/patch-ag                         |   12 +
 devel/gdb5/patches/patch-ah                         |   21 +
 devel/gdb5/patches/patch-ai                         |   13 +
 devel/gdb5/patches/patch-aj                         |   12 +
 devel/gdb5/patches/patch-ak                         |   12 +
 devel/gdb5/patches/patch-al                         |   13 +
 devel/gdb5/patches/patch-am                         |   52 +
 devel/gdb5/patches/patch-an                         |   13 +
 devel/gdb5/patches/patch-ao                         |   13 +
 devel/gdb5/patches/patch-ap                         |   75 ++
 devel/gdb5/patches/patch-aq                         |   15 +
 devel/gdb5/patches/patch-as                         |   28 +
 devel/gdb5/patches/patch-bfd_po_Make-in             |   25 +
 devel/gdb5/patches/patch-gdb_Makefile.in            |   23 +
 devel/gdb5/patches/patch-gdb_doc_Makefile.in        |   35 +
 devel/gdb5/patches/patch-gdb_gdbserver_Makefile.in  |   15 +
 devel/gdb5/patches/patch-gdb_gdbserver_configure.in |   16 +
 devel/gdb5/patches/patch-mmalloc_Makefile.in        |   19 +
 devel/gdb5/patches/patch-ob                         |   25 +
 devel/gdb5/patches/patch-opcodes_po_Make-in         |   25 +
 31 files changed, 1629 insertions(+), 0 deletions(-)

diffs (truncated from 1753 to 300 lines):

diff -r 1bb2d907c532 -r 0e23e568b5cc devel/gdb5/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gdb5/DESCR  Sun Mar 15 14:31:31 2015 +0000
@@ -0,0 +1,17 @@
+   The purpose of a debugger such as GDB is to allow you to see what
+is going on "inside" another program while it executes--or what
+another program was doing at the moment it crashed.
+
+   GDB can do four main kinds of things (plus other things in support
+of these) to help you catch bugs in the act:
+
+   * Start your program, specifying anything that might affect its
+     behavior.
+
+   * Make your program stop on specified conditions.
+
+   * Examine what has happened, when your program has stopped.
+
+   * Change things in your program, so you can experiment with
+     correcting the effects of one bug and go on to learn about
+     another.
diff -r 1bb2d907c532 -r 0e23e568b5cc devel/gdb5/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gdb5/Makefile       Sun Mar 15 14:31:31 2015 +0000
@@ -0,0 +1,47 @@
+# $NetBSD: Makefile,v 1.1 2015/03/15 14:31:31 bsiegert Exp $
+#
+
+DISTNAME=      gdb-5.3
+PKGREVISION=   7
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GNU:=gdb/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://www.gnu.org/software/gdb/gdb.html
+COMMENT=       Symbolic debugger for multiple language frontends
+
+# This (ancient) version of gdb does not understand or has never heard of
+#   - mach-o (hence macos)
+#   - dragonfly
+#   - amd64 (probably on all OSes but certainly on netbsd)
+# and is not worth fixing.
+NOT_FOR_PLATFORM=      Darwin-*-* DragonFly-*-* NetBSD-*-x86_64
+
+BROKEN_GETTEXT_DETECTION=      yes
+GNU_CONFIGURE=         YES
+USE_PKGLOCALEDIR=      YES
+USE_LIBTOOL=           YES
+USE_TOOLS+=            gmake msgfmt
+REPLACE_LOCALEDIR_PATTERNS+=   Make-in
+INSTALL_TARGET=                install install-info
+TEST_TARGET=           check
+INFO_FILES=            yes
+CONFIGURE_ENV+=                CONFIG_LDFLAGS=${LDFLAGS:M*:Q}
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+# Work around a bug in gdb's configure
+CONFIGURE_ENV+=                ac_cv_header_curses_h=yes
+.elif ${OPSYS} == "Linux"
+USE_TOOLS+=            aclocal autoheader autoconf
+
+pre-configure:
+       ${RUN} cd ${WRKSRC}/gdb/gdbserver &&                            \
+       aclocal && autoheader && autoconf
+
+.endif
+
+.include "../../mk/termcap.buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 1bb2d907c532 -r 0e23e568b5cc devel/gdb5/PLIST.Linux
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gdb5/PLIST.Linux    Sun Mar 15 14:31:31 2015 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST.Linux,v 1.1 2015/03/15 14:31:31 bsiegert Exp $
+bin/gdbserver
+man/man1/gdbserver.1
diff -r 1bb2d907c532 -r 0e23e568b5cc devel/gdb5/PLIST.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gdb5/PLIST.common   Sun Mar 15 14:31:31 2015 +0000
@@ -0,0 +1,30 @@
+@comment $NetBSD: PLIST.common,v 1.1 2015/03/15 14:31:31 bsiegert Exp $
+bin/gdb
+include/ansidecl.h
+include/bfd.h
+include/bfdlink.h
+include/dis-asm.h
+include/symcat.h
+info/bfd.info
+info/gdb.info
+info/gdbint.info
+info/mmalloc.info
+info/stabs.info
+lib/libbfd.la
+lib/libiberty.a
+lib/libmmalloc.a
+lib/libopcodes.la
+man/man1/gdb.1
+share/locale/da/LC_MESSAGES/opcodes.mo
+share/locale/de/LC_MESSAGES/opcodes.mo
+share/locale/es/LC_MESSAGES/bfd.mo
+share/locale/es/LC_MESSAGES/opcodes.mo
+share/locale/fr/LC_MESSAGES/bfd.mo
+share/locale/fr/LC_MESSAGES/opcodes.mo
+share/locale/id/LC_MESSAGES/opcodes.mo
+share/locale/ja/LC_MESSAGES/bfd.mo
+share/locale/pt_BR/LC_MESSAGES/opcodes.mo
+share/locale/sv/LC_MESSAGES/bfd.mo
+share/locale/sv/LC_MESSAGES/opcodes.mo
+share/locale/tr/LC_MESSAGES/bfd.mo
+share/locale/tr/LC_MESSAGES/opcodes.mo
diff -r 1bb2d907c532 -r 0e23e568b5cc devel/gdb5/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gdb5/distinfo       Sun Mar 15 14:31:31 2015 +0000
@@ -0,0 +1,31 @@
+$NetBSD: distinfo,v 1.1 2015/03/15 14:31:31 bsiegert Exp $
+
+SHA1 (gdb-5.3.tar.gz) = 24a6c9da6e89b1b82b7508f27f94098d989ff662
+RMD160 (gdb-5.3.tar.gz) = 3f88dc11115de08708c50c73b10acaf00ed25e96
+Size (gdb-5.3.tar.gz) = 14707600 bytes
+SHA1 (patch-aa) = 03b55af0a826f107143ca4846000084739f7c453
+SHA1 (patch-ab) = 56fe49b2f0b6a99053f48d6cf0df91c78ae24a92
+SHA1 (patch-ac) = 681168205196ad6451674f703fcf9148b673d4de
+SHA1 (patch-ad) = f831cd919d75ba8ab76c1f90b47ee443615397f8
+SHA1 (patch-ae) = e2a7e553cab2d447e9c27f6fd956577355714f28
+SHA1 (patch-af) = 4637beaaa978395547f7664504aced476ec946d8
+SHA1 (patch-ag) = 94eaa6bc4183ac86a21e417f6d266173618e78b5
+SHA1 (patch-ah) = 0a6ceea484411d26ac584a1b3d248e4c3c50f3d7
+SHA1 (patch-ai) = 24fc619a5de034c4ead6424ffcb30a2e8aa7d816
+SHA1 (patch-aj) = 16b03a5ce9b34af42dcec4e26103ebc456d091bf
+SHA1 (patch-ak) = 0908ff7f7000df702a18c25bce4b4930c61ad8f8
+SHA1 (patch-al) = 2721abee837d85f57b05073490d94e9e11d5193d
+SHA1 (patch-am) = 73c6077dcad00fbdde289d270418bd66a36ae9d9
+SHA1 (patch-an) = c28777296917daa1a619eca092023c8f5aaf706f
+SHA1 (patch-ao) = 7a38b55945cf6d9fc422e460d67b88a1e4416e62
+SHA1 (patch-ap) = e79d8a70d12098716791e3349d8606d07f8acd47
+SHA1 (patch-aq) = f7c356f7c500b84feb141ba693390378e5f71642
+SHA1 (patch-as) = 77a2f8eb5e1f076cba915c80113cfe5bf617efaf
+SHA1 (patch-bfd_po_Make-in) = 9e09652c95dbea0d7017102546c4e959abc199da
+SHA1 (patch-gdb_Makefile.in) = 229c14522ddf8f5ddfdd414d77be1ddefc5635db
+SHA1 (patch-gdb_doc_Makefile.in) = 44f1fc8db2f37dae1ba0db3ae1192ec8ef47f4a3
+SHA1 (patch-gdb_gdbserver_Makefile.in) = 00e0015600847401ecd4471afd53c7e5030e1f15
+SHA1 (patch-gdb_gdbserver_configure.in) = 064fc1e61fb5b301f4e8601f7754b38a444c2e97
+SHA1 (patch-mmalloc_Makefile.in) = 1c45f0b326b838d442979e4ada45c0e5fc2da1c5
+SHA1 (patch-ob) = 52c017dfa9f535edc9520144efa8ef04a8020832
+SHA1 (patch-opcodes_po_Make-in) = c4f9d3d19a52acab6c18454b1ff95c9e1302c5bf
diff -r 1bb2d907c532 -r 0e23e568b5cc devel/gdb5/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gdb5/patches/patch-aa       Sun Mar 15 14:31:31 2015 +0000
@@ -0,0 +1,35 @@
+$NetBSD: patch-aa,v 1.1 2015/03/15 14:31:31 bsiegert 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 =
+ 
+-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)
+ 
+ INSTALL_DOSREL = install-dosrel-fake
+ 
+@@ -372,6 +372,7 @@ BASE_FLAGS_TO_PASS = \
+       "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
+       "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
+       "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
++      "DESTDIR=$(DESTDIR)" \
+       "INSTALL=$(INSTALL)" \
+       "INSTALL_DATA=$(INSTALL_DATA)" \
+       "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
+@@ -707,7 +708,6 @@ INSTALL_MODULES = \
+       install-perl \
+       install-prms \
+       install-rcs \
+-      install-readline \
+       install-recode \
+       install-sed \
+       install-send-pr \
diff -r 1bb2d907c532 -r 0e23e568b5cc devel/gdb5/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gdb5/patches/patch-ab       Sun Mar 15 14:31:31 2015 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1 2015/03/15 14:31:31 bsiegert 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
diff -r 1bb2d907c532 -r 0e23e568b5cc devel/gdb5/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gdb5/patches/patch-ac       Sun Mar 15 14:31:31 2015 +0000
@@ -0,0 +1,629 @@
+$NetBSD: patch-ac,v 1.1 2015/03/15 14:31:31 bsiegert 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 \



Home | Main Index | Thread Index | Old Index