diff options
-rw-r--r-- | Kernel/i386.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Kernel/i386.cpp b/Kernel/i386.cpp index 2561b4a4f6..e4dd426095 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 (;;); } |