Update to GDB 7.6, lightly tested on amd64. Index: Makefile =================================================================== RCS file: /home/pascal/cvs/ports/devel/gdb/Makefile,v retrieving revision 1.25 diff -u -p -r1.25 Makefile --- Makefile 21 Mar 2013 08:45:15 -0000 1.25 +++ Makefile 29 Apr 2013 18:14:29 -0000 @@ -3,7 +3,7 @@ COMMENT= GNU debugger CATEGORIES= devel -DISTNAME= gdb-7.5.1 +DISTNAME= gdb-7.6 HOMEPAGE= http://www.gnu.org/software/gdb/ Index: distinfo =================================================================== RCS file: /home/pascal/cvs/ports/devel/gdb/distinfo,v retrieving revision 1.8 diff -u -p -r1.8 distinfo --- distinfo 29 Nov 2012 18:58:40 -0000 1.8 +++ distinfo 29 Apr 2013 18:27:52 -0000 @@ -1,2 +1,2 @@ -SHA256 (gdb/gdb-7.5.1.tar.gz) = +Z8m4sESfxK6FOzglHqamUi+Relrae82MTHkaaaYY24= -SIZE (gdb/gdb-7.5.1.tar.gz) = 28490732 +SHA256 (gdb/gdb-7.6.tar.gz) = gHA4ml3MEE6wvkg9WCcp+Y7U12GtGc7dPxe10lAvqjY= +SIZE (gdb/gdb-7.6.tar.gz) = 31437633 Index: patches/patch-bfd_elf_c =================================================================== RCS file: /home/pascal/cvs/ports/devel/gdb/patches/patch-bfd_elf_c,v retrieving revision 1.2 diff -u -p -r1.2 patch-bfd_elf_c --- patches/patch-bfd_elf_c 25 Aug 2012 19:15:44 -0000 1.2 +++ patches/patch-bfd_elf_c 29 Apr 2013 19:28:56 -0000 @@ -1,14 +1,14 @@ $OpenBSD: patch-bfd_elf_c,v 1.2 2012/08/25 19:15:44 pascal Exp $ ---- bfd/elf.c.orig Wed Jul 4 02:29:51 2012 -+++ bfd/elf.c Sun Aug 19 14:37:28 2012 -@@ -8747,6 +8747,11 @@ elfcore_grok_openbsd_procinfo (bfd *abfd, Elf_Internal +--- bfd/elf.c.orig Fri Mar 8 18:13:31 2013 ++++ bfd/elf.c Mon Apr 29 21:13:54 2013 +@@ -8884,6 +8884,11 @@ elfcore_grok_openbsd_procinfo (bfd *abfd, Elf_Internal static bfd_boolean elfcore_grok_openbsd_note (bfd *abfd, Elf_Internal_Note *note) { + int lwp; + + if (elfcore_netbsd_get_lwpid (note, &lwp)) -+ elf_tdata (abfd)->core_lwpid = lwp; ++ elf_tdata (abfd)->core->lwpid = lwp; + if (note->type == NT_OPENBSD_PROCINFO) return elfcore_grok_openbsd_procinfo (abfd, note); Index: patches/patch-gdb_data-directory_Makefile_in =================================================================== RCS file: /home/pascal/cvs/ports/devel/gdb/patches/patch-gdb_data-directory_Makefile_in,v retrieving revision 1.2 diff -u -p -r1.2 patch-gdb_data-directory_Makefile_in --- patches/patch-gdb_data-directory_Makefile_in 25 Aug 2012 19:15:44 -0000 1.2 +++ patches/patch-gdb_data-directory_Makefile_in 29 Apr 2013 18:28:44 -0000 @@ -1,7 +1,7 @@ $OpenBSD: patch-gdb_data-directory_Makefile_in,v 1.2 2012/08/25 19:15:44 pascal Exp $ ---- gdb/data-directory/Makefile.in.orig Wed Apr 11 07:50:44 2012 -+++ gdb/data-directory/Makefile.in Sun Aug 19 14:37:28 2012 -@@ -94,7 +94,7 @@ FLAGS_TO_PASS = \ +--- gdb/data-directory/Makefile.in.orig Tue Jan 1 07:32:56 2013 ++++ gdb/data-directory/Makefile.in Mon Apr 29 20:28:12 2013 +@@ -97,7 +97,7 @@ FLAGS_TO_PASS = \ "RUNTESTFLAGS=$(RUNTESTFLAGS)" .PHONY: all @@ -10,7 +10,7 @@ $OpenBSD: patch-gdb_data-directory_Makef # For portability's sake, we need to handle systems that don't have # symbolic links. -@@ -188,7 +188,7 @@ install: all +@@ -191,7 +191,7 @@ install: all @$(MAKE) $(FLAGS_TO_PASS) install-only .PHONY: install-only Index: patches/patch-gdb_python_python-config_py =================================================================== RCS file: /home/pascal/cvs/ports/devel/gdb/patches/patch-gdb_python_python-config_py,v retrieving revision 1.2 diff -u -p -r1.2 patch-gdb_python_python-config_py --- patches/patch-gdb_python_python-config_py 3 Mar 2012 19:22:42 -0000 1.2 +++ patches/patch-gdb_python_python-config_py 29 Apr 2013 18:28:44 -0000 @@ -1,7 +1,7 @@ $OpenBSD: patch-gdb_python_python-config_py,v 1.2 2012/03/03 19:22:42 pascal Exp $ ---- gdb/python/python-config.py.orig Mon Jan 31 05:42:08 2011 -+++ gdb/python/python-config.py Wed Feb 29 00:21:30 2012 -@@ -71,6 +71,8 @@ for opt in opt_flags: +--- gdb/python/python-config.py.orig Wed Dec 12 17:47:30 2012 ++++ gdb/python/python-config.py Mon Apr 29 20:28:12 2013 +@@ -72,6 +72,8 @@ for opt in opt_flags: libs.insert(0, '-L' + getvar('LIBPL')) elif os.name == 'nt': libs.insert(0, '-L' + sysconfig.PREFIX + '/libs') @@ -9,4 +9,4 @@ $OpenBSD: patch-gdb_python_python-config + libs.insert(0, getvar('LDFLAGS')) if getvar('LINKFORSHARED') is not None: libs.extend(getvar('LINKFORSHARED').split()) - print to_unix_path(' '.join(libs)) + print (to_unix_path(' '.join(libs))) Index: patches/patch-libiberty_Makefile_in =================================================================== RCS file: /home/pascal/cvs/ports/devel/gdb/patches/patch-libiberty_Makefile_in,v retrieving revision 1.3 diff -u -p -r1.3 patch-libiberty_Makefile_in --- patches/patch-libiberty_Makefile_in 25 Aug 2012 19:15:44 -0000 1.3 +++ patches/patch-libiberty_Makefile_in 29 Apr 2013 18:28:44 -0000 @@ -1,7 +1,7 @@ $OpenBSD: patch-libiberty_Makefile_in,v 1.3 2012/08/25 19:15:44 pascal Exp $ ---- libiberty/Makefile.in.orig Fri Apr 27 20:03:26 2012 -+++ libiberty/Makefile.in Sun Aug 19 14:37:28 2012 -@@ -343,7 +343,7 @@ libiberty.html : $(srcdir)/libiberty.texi $(TEXISRC) +--- libiberty/Makefile.in.orig Mon Jan 7 21:28:44 2013 ++++ libiberty/Makefile.in Mon Apr 29 20:28:12 2013 +@@ -344,7 +344,7 @@ libiberty.html : $(srcdir)/libiberty.texi $(TEXISRC) @MAINT@ echo stamp > stamp-functions INSTALL_DEST = @INSTALL_DEST@
