fbsd-nat: Stop a process if it is running before killing it.
authorJohn Baldwin <jhb@FreeBSD.org>
Mon, 14 Aug 2023 20:38:42 +0000 (13:38 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Mon, 14 Aug 2023 20:38:42 +0000 (13:38 -0700)
commitfdeef5e428c0d85003911262a7831babc66c60de
treedd56daf2ef6bf2c5f519bce8293baeefde92fc64
parent57c28d45f9ad14130c8375b3b5ec6996b63574fd
fbsd-nat: Stop a process if it is running before killing it.

In addition, detach from any child processes implicitly attached to by
the kernel due to fork following that have not yet been processed by
GDB's core.
gdb/fbsd-nat.c
gdb/fbsd-nat.h