From 032bf32d88de00fd50beaf727f074a45cfea9e50 Mon Sep 17 00:00:00 2001 From: Ali Mashtizadeh Date: Mon, 2 Oct 2023 19:46:25 -0400 Subject: [PATCH] Remove accidently committed debugging --- sys/kern/printf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/kern/printf.c b/sys/kern/printf.c index 6fab079..ef2c5c0 100644 --- a/sys/kern/printf.c +++ b/sys/kern/printf.c @@ -227,12 +227,14 @@ void Debug_Assert(const char *fmt, ...) kvprintf(fmt, consoleputc, 0, ap); va_end(ap); +#if 0 kprintf("PC %lx FP %lx\n", __builtin_return_address(0), __builtin_frame_address(0)); kprintf("PC %lx FP %lx\n", __builtin_return_address(1), __builtin_frame_address(1)); kprintf("PC %lx FP %lx\n", __builtin_return_address(2), __builtin_frame_address(2)); kprintf("PC %lx FP %lx\n", __builtin_return_address(3), __builtin_frame_address(3)); kprintf("PC %lx FP %lx\n", __builtin_return_address(4), __builtin_frame_address(4)); kprintf("PC %lx FP %lx\n", __builtin_return_address(5), __builtin_frame_address(5)); +#endif Panic(""); }