Enable ptrace events on new child processes.
authorJohn Baldwin <jhb@FreeBSD.org>
Sat, 16 Jul 2016 00:01:21 +0000 (17:01 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Wed, 20 Jul 2016 18:01:45 +0000 (11:01 -0700)
commit5fa14c6b9789bad6f91dd21889f7b1a0eb75c6d0
treefaa481c214f61f81f5a245fc580ecc8d792f3f9a
parentda95a26cc381c0f092f515ffe108075985c16d7f
Enable ptrace events on new child processes.

New child processes on FreeBSD do not inherit optional ptrace events
such as fork and LWP events from the parent process.  Instead,
explicitly enable events on new children when reporting a fork
event.

gdb/ChangeLog:

* fbsd-nat.c (fbsd_wait): Use "fbsd_enable_proc_events" on
new child processes.
gdb/ChangeLog
gdb/fbsd-nat.c