Update to GDB 7.8.

This commit is contained in:
pascal 2014-08-14 07:50:24 +00:00
parent 90e2646471
commit 6091383dc8
10 changed files with 46 additions and 53 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.31 2014/05/06 09:28:59 pascal Exp $
# $OpenBSD: Makefile,v 1.32 2014/08/14 07:50:24 pascal Exp $
COMMENT= GNU debugger
CATEGORIES= devel
DISTNAME= gdb-7.7.1
DISTNAME= gdb-7.8
HOMEPAGE= https://www.gnu.org/software/gdb/

View File

@ -1,2 +1,2 @@
SHA256 (gdb/gdb-7.7.1.tar.gz) = 7vrbmDHjaV0ervNOmLjx+0Qd9v5QcTF+pJxr1rohPv8=
SIZE (gdb/gdb-7.7.1.tar.gz) = 32244142
SHA256 (gdb/gdb-7.8.tar.gz) = Rr5QX8G8FXoBEkMz7zftGVFH+mpAXL/TLepjusqqu+Q=
SIZE (gdb/gdb-7.8.tar.gz) = 32911353

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-bfd_coff-rs6000_c,v 1.2 2014/03/09 19:49:21 pascal Exp $
--- bfd/coff-rs6000.c.orig Thu Feb 6 03:21:29 2014
+++ bfd/coff-rs6000.c Fri Feb 7 18:43:41 2014
@@ -28,6 +28,7 @@
$OpenBSD: patch-bfd_coff-rs6000_c,v 1.3 2014/08/14 07:50:24 pascal Exp $
--- bfd/coff-rs6000.c.orig Tue Jul 29 14:37:42 2014
+++ bfd/coff-rs6000.c Tue Jul 29 20:27:50 2014
@@ -26,6 +26,7 @@
#include "bfd.h"
#include "bfdlink.h"
#include "libbfd.h"

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-bfd_elf_c,v 1.4 2014/03/09 19:49:21 pascal Exp $
--- bfd/elf.c.orig Thu Feb 6 03:21:29 2014
+++ bfd/elf.c Fri Feb 7 18:43:41 2014
@@ -8917,6 +8917,11 @@ elfcore_grok_openbsd_procinfo (bfd *abfd, Elf_Internal
$OpenBSD: patch-bfd_elf_c,v 1.5 2014/08/14 07:50:24 pascal Exp $
--- bfd/elf.c.orig Tue Jul 29 14:37:42 2014
+++ bfd/elf.c Tue Jul 29 20:27:50 2014
@@ -8932,6 +8932,11 @@ elfcore_grok_openbsd_procinfo (bfd *abfd, Elf_Internal
static bfd_boolean
elfcore_grok_openbsd_note (bfd *abfd, Elf_Internal_Note *note)
{

View File

@ -1,8 +1,8 @@
$OpenBSD: patch-bfd_peXXigen_c,v 1.2 2014/03/09 19:49:21 pascal Exp $
$OpenBSD: patch-bfd_peXXigen_c,v 1.3 2014/08/14 07:50:24 pascal Exp $
Fix out-of-bounds memcpys (FILNMLEN is 18, sizeof x_fname is 14).
--- bfd/peXXigen.c.orig Wed Jan 8 10:23:36 2014
+++ bfd/peXXigen.c Fri Feb 7 18:43:41 2014
@@ -256,7 +256,7 @@ _bfd_XXi_swap_aux_in (bfd * abfd,
--- bfd/peXXigen.c.orig Tue Jul 29 14:37:42 2014
+++ bfd/peXXigen.c Tue Jul 29 20:27:50 2014
@@ -292,7 +292,7 @@ _bfd_XXi_swap_aux_in (bfd * abfd,
in->x_file.x_n.x_offset = H_GET_32 (abfd, ext->x_file.x_n.x_offset);
}
else
@ -11,7 +11,7 @@ Fix out-of-bounds memcpys (FILNMLEN is 18, sizeof x_fname is 14).
return;
case C_STAT:
@@ -330,7 +330,7 @@ _bfd_XXi_swap_aux_out (bfd * abfd,
@@ -366,7 +366,7 @@ _bfd_XXi_swap_aux_out (bfd * abfd,
H_PUT_32 (abfd, in->x_file.x_n.x_offset, ext->x_file.x_n.x_offset);
}
else

View File

@ -1,11 +0,0 @@
$OpenBSD: patch-gdb_bsd-kvm_c,v 1.1 2014/03/09 19:49:21 pascal Exp $
--- gdb/bsd-kvm.c.orig Fri Feb 7 18:48:10 2014
+++ gdb/bsd-kvm.c Fri Feb 7 18:48:28 2014
@@ -35,6 +35,7 @@
#endif
#include <paths.h>
#include "readline/readline.h"
+#include <sys/param.h>
#include <sys/proc.h>
#include <sys/user.h>

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-gdb_data-directory_Makefile_in,v 1.4 2014/03/09 19:49:21 pascal Exp $
--- gdb/data-directory/Makefile.in.orig Fri Feb 7 18:52:56 2014
+++ gdb/data-directory/Makefile.in Fri Feb 7 18:54:32 2014
@@ -121,7 +121,7 @@ stamp-syscalls: Makefile $(SYSCALLS_FILES)
$OpenBSD: patch-gdb_data-directory_Makefile_in,v 1.5 2014/08/14 07:50:24 pascal Exp $
--- gdb/data-directory/Makefile.in.orig Tue Jul 29 14:30:04 2014
+++ gdb/data-directory/Makefile.in Tue Jul 29 20:32:54 2014
@@ -166,7 +166,7 @@ stamp-syscalls: Makefile $(SYSCALLS_FILES)
for file in $$files ; do \
f=$(SYSCALLS_SRCDIR)/$$file ; \
if test -f $$f ; then \
@ -10,18 +10,18 @@ $OpenBSD: patch-gdb_data-directory_Makefile_in,v 1.4 2014/03/09 19:49:21 pascal
fi ; \
done
touch $@
@@ -162,8 +162,8 @@ stamp-python: Makefile $(PYTHON_FILES)
files='$(PYTHON_FILES)' ; \
for file in $$files ; do \
dir=`echo "$$file" | sed 's,/[^/]*$$,,'` ; \
- $(INSTALL_DIR) ./$(PYTHON_DIR)/$$dir ; \
- $(INSTALL_DATA) $(PYTHON_SRCDIR)/$$file ./$(PYTHON_DIR)/$$dir ; \
+ mkdir -p ./$(PYTHON_DIR)/$$dir ; \
+ cp $(PYTHON_SRCDIR)/$$file ./$(PYTHON_DIR)/$$dir ; \
done
@@ -208,8 +208,8 @@ stamp-python: Makefile $(PYTHON_FILES)
if test "x$$files" != x ; then \
for file in $$files ; do \
dir=`echo "$$file" | sed 's,/[^/]*$$,,'` ; \
- $(INSTALL_DIR) ./$(PYTHON_DIR)/$$dir ; \
- $(INSTALL_DATA) $(PYTHON_SRCDIR)/$$file ./$(PYTHON_DIR)/$$dir ; \
+ mkdir -p ./$(PYTHON_DIR)/$$dir ; \
+ cp $(PYTHON_SRCDIR)/$$file ./$(PYTHON_DIR)/$$dir ; \
done ; \
fi
touch $@
@@ -201,7 +201,7 @@ stamp-system-gdbinit: Makefile $(SYSTEM_GDBINIT_FILES)
@@ -302,7 +302,7 @@ stamp-system-gdbinit: Makefile $(SYSTEM_GDBINIT_FILES)
for file in $$files ; do \
f=$(SYSTEM_GDBINIT_SRCDIR)/$$file ; \
if test -f $$f ; then \

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-gdb_doc_Makefile_in,v 1.1 2014/03/09 19:49:21 pascal Exp $
--- gdb/doc/Makefile.in.orig Wed Jan 8 10:23:36 2014
+++ gdb/doc/Makefile.in Fri Feb 7 19:23:45 2014
$OpenBSD: patch-gdb_doc_Makefile_in,v 1.2 2014/08/14 07:50:24 pascal Exp $
--- gdb/doc/Makefile.in.orig Wed Jun 11 18:34:41 2014
+++ gdb/doc/Makefile.in Tue Jul 29 20:27:50 2014
@@ -29,6 +29,7 @@ htmldir = @htmldir@
mandir = @mandir@
man1dir = $(mandir)/man1
@ -9,7 +9,7 @@ $OpenBSD: patch-gdb_doc_Makefile_in,v 1.1 2014/03/09 19:49:21 pascal Exp $
SHELL = @SHELL@
@@ -266,7 +267,8 @@ install-man1: $(MAN1S)
@@ -308,7 +309,8 @@ install-man1: $(MAN1S)
continue; \
fi; \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
@ -19,7 +19,7 @@ $OpenBSD: patch-gdb_doc_Makefile_in,v 1.1 2014/03/09 19:49:21 pascal Exp $
echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(man1dir)/$$f'"; \
$(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(man1dir)/$$f"; \
done
@@ -275,7 +277,8 @@ install-man5: $(MAN5S)
@@ -317,7 +319,8 @@ install-man5: $(MAN5S)
test -z "$(man5dir)" || $(mkinstalldirs) "$(DESTDIR)$(man5dir)"
@list='$(MAN5S)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-libiberty_Makefile_in,v 1.4 2013/05/04 21:27:11 pascal Exp $
--- 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)
$OpenBSD: patch-libiberty_Makefile_in,v 1.5 2014/08/14 07:50:24 pascal Exp $
--- libiberty/Makefile.in.orig Wed Jun 11 18:34:41 2014
+++ libiberty/Makefile.in Tue Jul 29 20:27:50 2014
@@ -352,7 +352,7 @@ libiberty.html : $(srcdir)/libiberty.texi $(TEXISRC)
@MAINT@ echo stamp > stamp-functions
INSTALL_DEST = @INSTALL_DEST@

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.12 2014/03/09 19:49:21 pascal Exp $
@comment $OpenBSD: PLIST,v 1.13 2014/08/14 07:50:24 pascal Exp $
@conflict libbfd-*
@bin bin/egdb
include/ansidecl.h
@ -34,6 +34,7 @@ share/gdb/python/gdb/command/frame_filters.py
share/gdb/python/gdb/command/pretty_printers.py
share/gdb/python/gdb/command/prompt.py
share/gdb/python/gdb/command/type_printers.py
share/gdb/python/gdb/command/xmethods.py
share/gdb/python/gdb/frames.py
share/gdb/python/gdb/function/
share/gdb/python/gdb/function/__init__.py
@ -41,6 +42,7 @@ share/gdb/python/gdb/function/strfns.py
share/gdb/python/gdb/printing.py
share/gdb/python/gdb/prompt.py
share/gdb/python/gdb/types.py
share/gdb/python/gdb/xmethod.py
share/gdb/syscalls/
share/gdb/syscalls/amd64-linux.xml
share/gdb/syscalls/arm-linux.xml
@ -51,6 +53,8 @@ share/gdb/syscalls/mips-n64-linux.xml
share/gdb/syscalls/mips-o32-linux.xml
share/gdb/syscalls/ppc-linux.xml
share/gdb/syscalls/ppc64-linux.xml
share/gdb/syscalls/s390-linux.xml
share/gdb/syscalls/s390x-linux.xml
share/gdb/syscalls/sparc-linux.xml
share/gdb/syscalls/sparc64-linux.xml
share/gdb/system-gdbinit/