x86-nat: Add x86_lookup_debug_reg_state.
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)
commitb1babce7c31def7fb894875136788490b167f989
tree7e79468da5548d20d6d802366a91a3adafb64544
parent922c2fc18e4de33d24b6ba3b7b6e8732209a5e69
x86-nat: Add x86_lookup_debug_reg_state.

This function returns nullptr if debug register state does not yet
exist for a given process rather than creating new state.
gdb/x86-nat.c
gdb/x86-nat.h