[PATCH 03/10] Build nat/netbsd-nat.o for the NetBSD native target

Kamil Rytarowski
2020-09-02T18:00:11Z

---
gdb/ChangeLog | 4 ++++
gdb/configure.nat | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 40f01da33ba..053cce76b3f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2020-08-13 Kamil Rytarowski <n54@gmx.com>
+
+ * configure.nat (NATDEPFILES): Add nat/netbsd-nat.o when needed.
+
2020-08-13 Kamil Rytarowski <n54@gmx.com>

* netbsd-nat.h: New file.
diff --git a/gdb/configure.nat b/gdb/configure.nat
index 6ea25834954..3e94a064aeb 100644
--- a/gdb/configure.nat
+++ b/gdb/configure.nat
@@ -68,7 +68,7 @@ case ${gdb_host} in
LOADLIBES='-lkvm'
;;
nbsd*)
- NATDEPFILES='fork-child.o nat/fork-inferior.o inf-ptrace.o'
+ NATDEPFILES='fork-child.o nat/fork-inferior.o nat/netbsd-nat.o inf-ptrace.o'
HAVE_NATIVE_GCORE_HOST=1
;;
obsd*)
--
2.28.0