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: [email protected]
Reporter: [email protected]
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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"