Honor detach-on-fork on FreeBSD.
authorJohn Baldwin <jhb@FreeBSD.org>
Sat, 25 Jun 2016 01:24:21 +0000 (18:24 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Fri, 1 Jul 2016 15:32:38 +0000 (08:32 -0700)
commitbb2a62e694953c099c41d49f59947d3d91cc7c27
treeb2867bf20233c3c7c09d2db1222ced688f8ef18a
parent5e866f5aeeaf7514f5ca4f9eaba41594eac22e5b
Honor detach-on-fork on FreeBSD.

Only detach from the new child process in the follow fork callback
if detach_fork is true.

gdb/ChangeLog:

* fbsd-nat.c (fbsd_follow_fork): Only detach child if
"detach_fork" is true.
gdb/ChangeLog
gdb/fbsd-nat.c