This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] Define HAVE_NATIVE_GCORE_HOST on NetBSD
- From: Kamil Rytarowski <n54 at gmx dot com>
- To: jhb at FreeBSD dot org
- Cc: gdb-patches at sourceware dot org, Kamil Rytarowski <n54 at gmx dot com>
- Date: Tue, 5 Sep 2017 23:03:23 +0200
- Subject: [PATCH] Define HAVE_NATIVE_GCORE_HOST on NetBSD
- Authentication-results: sourceware.org; auth=none
NetBSD ships with gcore(1) againg since the version 2.0.
This tool is functional and actively maintained.
gdb/ChangeLog
2017-09-05 Kamil Rytarowski <n54@gmx.com>
* configure.nat: Define HAVE_NATIVE_GCORE_HOST on NetBSD.
---
gdb/ChangeLog | 4 ++++
gdb/configure.nat | 1 +
2 files changed, 5 insertions(+)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6d2eae58bc..f89ab8b06d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2017-09-05 Kamil Rytarowski <n54@gmx.com>
+
+ * configure.nat: Define HAVE_NATIVE_GCORE_HOST on NetBSD.
+
2017-09-05 Philippe Waroquiers <philippe.waroquiers@skynet.be>
* objfiles.c (get_objfile_bfd_data): Remove useless obstack_init
diff --git a/gdb/configure.nat b/gdb/configure.nat
index b1dda30852..c14a5b8f0b 100644
--- a/gdb/configure.nat
+++ b/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'
--
2.14.1