mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 16:37:47 +00:00
LibDebug: Implement ability to set watchpoints
Now we can set hardware watchpoints for our variables! :^) These watchpoints will be automatically removed when they go out of scope.
This commit is contained in:
parent
3123ffb19d
commit
7a1396f509
3 changed files with 145 additions and 0 deletions
|
@ -42,6 +42,9 @@ __BEGIN_DECLS
|
|||
#define PT_POKEDEBUG 10
|
||||
#define PT_PEEKDEBUG 11
|
||||
|
||||
#define DEBUG_STATUS_REGISTER 6
|
||||
#define DEBUG_CONTROL_REGISTER 7
|
||||
|
||||
// FIXME: PID/TID ISSUE
|
||||
// Affects the entirety of LibDebug and Userland/strace.cpp.
|
||||
// See also Kernel/Ptrace.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue