x86-fbsd-nat: Copy debug register state on fork.
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 22 Mar 2022 19:05:43 +0000 (12:05 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 22 Mar 2022 19:05:43 +0000 (12:05 -0700)
commit041a4212d37de6172b3428613c9f9f52ab950c6c
tree940e10dd7ef8cc884af594357ecb034e2a3030f8
parentc77282d8ba91cf25cf2f08b76702c447e2e74575
x86-fbsd-nat: Copy debug register state on fork.

Use the FreeBSD native target low_new_fork hook to copy the
per-process debug state from the parent to the child on fork.
gdb/configure.nat
gdb/x86-fbsd-nat.c [new file with mode: 0644]
gdb/x86-fbsd-nat.h