fbsd-nat: Avoid a direct write to target_waitstatus::kind.
authorJohn Baldwin <jhb@FreeBSD.org>
Mon, 27 Mar 2023 19:51:02 +0000 (12:51 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Mon, 27 Mar 2023 19:51:02 +0000 (12:51 -0700)
commitb48c2f04091d33d134b627f1b0a57e2d711cb5a2
tree7fb03cb03b87b8798845ca396a01e89f71060c93
parentbf505746af17499b29e791a24ccfc13058ce946d
fbsd-nat: Avoid a direct write to target_waitstatus::kind.

This is in #ifdef'd code for a workaround for FreeBSD versions older
than 11.1 which is why it wasn't caught earlier.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/fbsd-nat.c