X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flib%2Fdebug.c;h=4f0f5f303cf933dab61c1b1e6f723d7ed7b8bb6b;hb=eb5ba83c314e0074e2b280516e3e30b8626c638f;hp=6d75e7a34c47bf25332d5a9cc24ac9cc153c217b;hpb=6dca07ec0e8cde38f64f0c9f543b8e52ba169e94;p=pintos-anon diff --git a/src/lib/debug.c b/src/lib/debug.c index 6d75e7a..4f0f5f3 100644 --- a/src/lib/debug.c +++ b/src/lib/debug.c @@ -88,6 +88,10 @@ debug_panic (const char *file, int line, const char *function, debug_backtrace (); + printf ("The `backtrace' program can make call stacks useful.\n" + "Read \"Backtraces\" in the \"Debugging Tools\" chapter\n" + "of the Pintos documentation for more information.\n"); + #ifdef KERNEL serial_flush (); if (power_off_when_done)