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(""); }