diff --git a/Kernel/i386.cpp b/Kernel/i386.cpp index 2561b4a4f67..e4dd4260957 100644 --- a/Kernel/i386.cpp +++ b/Kernel/i386.cpp @@ -483,6 +483,8 @@ void __assertion_failed(const char* msg, const char* file, unsigned line, const { asm volatile("cli"); kprintf("ASSERTION FAILED: %s\n%s:%u in %s\n", msg, file, line, func); + extern void dump_backtrace(bool); + dump_backtrace(true); asm volatile("hlt"); for (;;); }