NetBSD ships with gcore(1) againg since the version 2.0.
This tool is functional and actively maintained.
gdb/ChangeLog
2017-09-06 Kamil Rytarowski <n54@gmx.com>
* configure.nat: Define HAVE_NATIVE_GCORE_HOST on NetBSD.
+2017-09-06 Kamil Rytarowski <n54@gmx.com>
+
+ * configure.nat: Define HAVE_NATIVE_GCORE_HOST on NetBSD.
+
2017-09-06 John Baldwin <jhb@FreeBSD.org>
* Makefile.in (ALLDEPFILES): Add mips-fbsd-nat.c.
;;
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'