HomeFreeBSD

gdb: report specific stop reason for watchpoints

Description

gdb: report specific stop reason for watchpoints

The remote protocol allows for implementations to report more specific
reasons for the break in execution back to the client [1]. This is
entirely optional, so it is only implemented for amd64, arm64, and i386
at the moment.

[1] https://sourceware.org/gdb/current/onlinedocs/gdb/Stop-Reply-Packets.html

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

Details

Provenance
mhorneAuthored on Mar 8 2021, 7:04 PM
Reviewer
jhb
Differential Revision
D29174: gdb: report specific stop reason for watchpoints
Parents
rG4beb385813c8: gdb: allow setting/removing hardware watchpoints
Branches
Unknown
Tags
Unknown