HomeFreeBSD

gdb: allow setting/removing hardware watchpoints

Description

gdb: allow setting/removing hardware watchpoints

Handle the 'z' and 'Z' remote packets for manipulating hardware
watchpoints.

This could be expanded quite easily to support hardware or software
breakpoints as well.

https://sourceware.org/gdb/onlinedocs/gdb/Packets.html

Reviewed by: cem, markj
MFC after: 3 weeks
Sponsored by: NetApp, Inc.
Sponsored by: Klara, Inc.
NetApp PR: 51
Differential Revision: https://reviews.freebsd.org/D29173

Details

Provenance
mhorneAuthored on Mar 8 2021, 7:03 PM
Reviewer
cem
Differential Revision
D29173: gdb: allow setting/removing hardware watchpoints
Parents
rG85425bdc5a80: resolv_test: Fix racy exit check, remove mutexes, and reduce output
Branches
Unknown
Tags
Unknown