HomeFreeBSD

x86: implement kdb watchpoint functions

Description

x86: implement kdb watchpoint functions

Add wrappers around the dbreg interface that can be consumed by MI
kernel debugger code. The dbreg functions themselves are updated to
return error codes, not just -1. dbreg_set_watchpoint() is extended to
accept access bits as an argument.

Reviewed by: jhb, kib, markj
MFC after: 3 weeks
Sponsored by: NetApp, Inc.
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D29155

Details

Provenance
mhorneAuthored on Feb 19 2021, 10:36 PM
Reviewer
jhb
Differential Revision
D29155: Introduce kdb-level watchpoint functions
Parents
rG763107f26c3c: Introduce kdb-level watchpoint functions
Branches
Unknown
Tags
Unknown