diff --git a/gdb/ChangeLog b/gdb/ChangeLog index fcaae6125e..2974d7275c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2019-02-14 Thomas Schwinge + * configure.nat [gdb_host == i386gnu] (NATDEPFILES): Add + 'nat/fork-inferior.o'. + * gnu-nat.c: #include "nat/fork-inferior.h". + * gnu-nat.c (gnu_nat_target::detach): Instead of 'inf_child_maybe_unpush_target (ops)' call 'maybe_unpush_target'. * gnu-nat.h: #include "inf-child.h". diff --git a/gdb/configure.nat b/gdb/configure.nat index 3118263ac6..64ee101d83 100644 --- a/gdb/configure.nat +++ b/gdb/configure.nat @@ -215,6 +215,7 @@ case ${gdb_host} in # Host: Intel 386 running the GNU Hurd NATDEPFILES='i386-gnu-nat.o gnu-nat.o \ x86-nat.o nat/x86-dregs.o fork-child.o \ + nat/fork-inferior.o \ notify_S.o process_reply_S.o msg_reply_S.o \ msg_U.o exc_request_U.o exc_request_S.o' HAVE_NATIVE_GCORE_HOST=1 diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c index 78966c805d..5a47cb7d63 100644 --- a/gdb/gnu-nat.c +++ b/gdb/gnu-nat.c @@ -69,6 +69,7 @@ extern "C" #include "gdbthread.h" #include "gdb_obstack.h" #include "tid-parse.h" +#include "nat/fork-inferior.h" #include "inf-child.h"