diff options
author | Freya Murphy <freya@freyacat.org> | 2024-02-03 00:50:07 -0500 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-02-03 00:53:58 -0500 |
commit | 90a6065691beee52bf5309916fba98f7580d27be (patch) | |
tree | 0b5375d20c189f62d394c473d371f7bf7f1d3fc5 /src/arch/amd64/cpu/debugger.c | |
parent | improved debugger, refactored (diff) | |
download | corn-90a6065691beee52bf5309916fba98f7580d27be.tar.gz corn-90a6065691beee52bf5309916fba98f7580d27be.tar.bz2 corn-90a6065691beee52bf5309916fba98f7580d27be.zip |
refactor, new arch dirs, (wip) page alloc on write, hsv screen (convert to userspace later), other fixes
Diffstat (limited to '')
-rw-r--r-- | src/arch/amd64/cpu/debugger.c (renamed from src/arch/amd64/debugger.c) | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/arch/amd64/debugger.c b/src/arch/amd64/cpu/debugger.c index a1fa968..4d9d3c3 100644 --- a/src/arch/amd64/debugger.c +++ b/src/arch/amd64/cpu/debugger.c @@ -2,6 +2,7 @@ #include <stddef.h> #include <backtrace.h> #include <serial.h> + #include "debugger.h" struct dr6 { @@ -195,8 +196,8 @@ static int debugger_handle_bkp_cmd(char *msg) { const char *lenstrs[] = {"1", "2", "8", "4"}; const char *rwstrs[] = {"x ", "w ", "io", "rw"}; kprintf( - "breakpoint %d: %#016lx len=%s trigger=%s instrlen=%01d %s\n", - i, + "breakpoint %d: %#016lx len=%s trigger=%s instrlen=%01d %s\n", + i, bkp.addr, lenstrs[bkp.len], rwstrs[bkp.rw], |