summaryrefslogtreecommitdiff
path: root/src/arch/amd64/debugger.c
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-02-02 10:31:51 -0500
committerFreya Murphy <freya@freyacat.org>2024-02-02 10:31:51 -0500
commit95f52a55ad556d956c483abfc28a11603b75f4a8 (patch)
tree210868e9cc62b47c0941cddc836c1f2212d8ff6f /src/arch/amd64/debugger.c
parentmerge virtnodes on alloc (diff)
downloadcorn-95f52a55ad556d956c483abfc28a11603b75f4a8.tar.gz
corn-95f52a55ad556d956c483abfc28a11603b75f4a8.tar.bz2
corn-95f52a55ad556d956c483abfc28a11603b75f4a8.zip
better print and mem
Diffstat (limited to 'src/arch/amd64/debugger.c')
-rw-r--r--src/arch/amd64/debugger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/amd64/debugger.c b/src/arch/amd64/debugger.c
index 4df59f7..2356e4a 100644
--- a/src/arch/amd64/debugger.c
+++ b/src/arch/amd64/debugger.c
@@ -300,7 +300,7 @@ static int debugger_prompt(struct isr_regs *state) {
case 's': // step (n)
rflags->tf = 1;
dbg_steps = atol(buf + 1) - 1;
- if (dbg_steps < 0) dbg_steps = 0;
+ //if (dbg_steps < 0) dbg_steps = 0;
return 0;
case 'b': // breakpoints
{