[Bug 252860] arm64 PT_GETDBREGS does not expose watchpoint registers
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jan 20 12:46:39 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252860
Bug ID: 252860
Summary: arm64 PT_GETDBREGS does not expose watchpoint
registers
Product: Base System
Version: CURRENT
Hardware: arm64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: bugs at FreeBSD.org
Reporter: mgorny at gentoo.org
We're working on improving arm64/FreeBSD support in LLDB, and we've noticed
that -- unless we're mistaken -- the kernel code responsible for PT_GETDBREGS
and PT_SETDBREGS handles breakpoint registers only.
I'm specifically referring to the fill_dbregs() function at:
https://cgit.freebsd.org/src/tree/sys/arm64/arm64/machdep.c?id=5f66d5a313bf2b2254de92b2915e48e5cf528893#n320
It needs to be extended to include watchpoint registers if we're going to use
hardware watchpoints on FreeBSD. However, I'm not really sure how to do that
without breaking the ABI -- though I'm not sure if anything is actually using
it at this point.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list