HomeFreeBSD

Introduce kdb-level watchpoint functions

Description

Introduce kdb-level watchpoint functions

This basically mirrors what already exists in ddb, but provides a
slightly improved interface. It allows the caller to specify the
watchpoint access type, and returns more specific error codes to
differentiate failure cases.

This will be used to support hardware watchpoints in gdb(4).

Stubs are provided for architectures lacking hardware watchpoint logic
(mips, powerpc, riscv), while other architectures are added individually
in follow-up commits.

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 Mar 8 2021, 3:23 PM
Reviewer
jhb
Differential Revision
D29155: Introduce kdb-level watchpoint functions
Parents
rG21d0c01226eb: netmap: iflib: add nm_config callback
Branches
Unknown
Tags
Unknown