mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 02:59:45 +00:00
Kernel: Define PT_READ_I and PT_READ_D
Looking at how these two constants are commonly used in other systems, we should be able to mimic their behavior using our PT_PEEK constant. For example, see: https://man.netbsd.org/NetBSD-6.0.1/i386/ptrace.2
This commit is contained in:
parent
380c42c405
commit
9a6283c524
Notes:
sideshowbarker
2024-07-18 03:31:26 +09:00
Author: https://github.com/gmta
Commit: 9a6283c524
Pull-request: https://github.com/SerenityOS/serenity/pull/10182
Reviewed-by: https://github.com/linusg ✅
1 changed files with 3 additions and 0 deletions
|
@ -24,6 +24,9 @@ extern "C" {
|
|||
#define PT_POKEDEBUG 10
|
||||
#define PT_PEEKDEBUG 11
|
||||
|
||||
#define PT_READ_I PT_PEEK
|
||||
#define PT_READ_D PT_PEEK
|
||||
|
||||
#define DEBUG_STATUS_REGISTER 6
|
||||
#define DEBUG_CONTROL_REGISTER 7
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue