gdb-git: Disable all binutils stuff, fix PLIST

It now build (fixed upstream).
Sync PLIST.common with reality.

Add a local patch with an attempty to disable gcore(1) installation.
This commit is contained in:
Kamil Rytarowski 2017-09-05 15:56:23 +02:00
parent 94a99889b7
commit de93d6accc
5 changed files with 44 additions and 1 deletions

View file

@ -26,6 +26,12 @@ TEST_TARGET= check
INFO_FILES= yes
CONFIGURE_ENV+= CONFIG_LDFLAGS=${LDFLAGS:M*:Q}
CONFIGURE_ARGS+= --disable-binutils
CONFIGURE_ARGS+= --disable-gprof
CONFIGURE_ARGS+= --disable-gold
CONFIGURE_ARGS+= --disable-gas
CONFIGURE_ARGS+= --disable-ld
# In gdb/configure, depcomp is parsed with sed.
SUBST_CLASSES+= fix-depcomp
SUBST_STAGE.fix-depcomp+= pre-configure

View file

@ -1,3 +1,2 @@
@comment $NetBSD: PLIST.Linux,v 1.1 2013/02/02 05:06:43 makoto Exp $
bin/gdbserver
man/man1/gdbserver.1

View file

@ -1,24 +1,42 @@
@comment $NetBSD: PLIST.common,v 1.6 2015/03/15 14:22:19 bsiegert Exp $
bin/gdb
include/gdb/jit-reader.h
include/plugin-api.h
info/annotate.info
info/bfd.info
info/gdb.info
info/stabs.info
lib/charset.alias
man/man1/gdb.1
man/man1/gdbserver.1
man/man5/gdbinit.5
share/gdb/python/gdb/FrameDecorator.py
share/gdb/python/gdb/FrameIterator.py
share/gdb/python/gdb/__init__.py
share/gdb/python/gdb/command/__init__.py
share/gdb/python/gdb/command/explore.py
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/unwinders.py
share/gdb/python/gdb/command/xmethods.py
share/gdb/python/gdb/frames.py
share/gdb/python/gdb/function/__init__.py
share/gdb/python/gdb/function/as_string.py
share/gdb/python/gdb/function/caller_is.py
share/gdb/python/gdb/function/strfns.py
share/gdb/python/gdb/printer/__init__.py
share/gdb/python/gdb/printer/bound_registers.py
share/gdb/python/gdb/printing.py
share/gdb/python/gdb/prompt.py
share/gdb/python/gdb/types.py
share/gdb/python/gdb/unwinder.py
share/gdb/python/gdb/xmethod.py
share/gdb/syscalls/aarch64-linux.xml
share/gdb/syscalls/amd64-linux.xml
share/gdb/syscalls/arm-linux.xml
share/gdb/syscalls/freebsd.xml
share/gdb/syscalls/gdb-syscalls.dtd
share/gdb/syscalls/i386-linux.xml
share/gdb/syscalls/mips-n32-linux.xml
@ -26,8 +44,12 @@ 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/elinos.py
share/gdb/system-gdbinit/wrs-linux.py
share/locale/da/LC_MESSAGES/bfd.mo
share/locale/da/LC_MESSAGES/opcodes.mo
share/locale/de/LC_MESSAGES/opcodes.mo
@ -38,6 +60,7 @@ share/locale/fi/LC_MESSAGES/opcodes.mo
share/locale/fr/LC_MESSAGES/bfd.mo
share/locale/fr/LC_MESSAGES/opcodes.mo
share/locale/ga/LC_MESSAGES/opcodes.mo
share/locale/hr/LC_MESSAGES/bfd.mo
share/locale/id/LC_MESSAGES/bfd.mo
share/locale/id/LC_MESSAGES/opcodes.mo
share/locale/it/LC_MESSAGES/opcodes.mo
@ -48,6 +71,8 @@ share/locale/ro/LC_MESSAGES/bfd.mo
share/locale/ro/LC_MESSAGES/opcodes.mo
share/locale/ru/LC_MESSAGES/bfd.mo
share/locale/rw/LC_MESSAGES/bfd.mo
share/locale/sr/LC_MESSAGES/bfd.mo
share/locale/sr/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

View file

@ -4,3 +4,4 @@ SHA1 (gdb-7.9.tar.gz) = 8f89aa6847dc87de2f720779a87ba360bdbc7efd
RMD160 (gdb-7.9.tar.gz) = 939dda771a073e82e7d72fd584246f3d1d8e9bdc
Size (gdb-7.9.tar.gz) = 33225783 bytes
SHA1 (patch-gdb_config_djgpp_djconfig.sh) = 38dd7868eaac20170b96664e0caec1cad86b8b4d
SHA1 (patch-gdb_configure.nat) = 024f2a503380b9a2f0d0914b860b1aba84d175bd

View file

@ -0,0 +1,12 @@
$NetBSD$
--- gdb/configure.nat.orig 2017-09-05 11:19:34.000000000 +0000
+++ gdb/configure.nat
@@ -68,6 +68,7 @@ case ${gdb_host} in
;;
nbsd*)
NATDEPFILES='fork-child.o fork-inferior.o inf-ptrace.o'
+ HAVE_NATIVE_GCORE_HOST=1
;;
obsd*)
NATDEPFILES='fork-child.o fork-inferior.o inf-ptrace.o'