projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a suggestion to use `backtrace' and a reference to the manual to
[pintos-anon]
/
src
/
lib
/
debug.c
diff --git
a/src/lib/debug.c
b/src/lib/debug.c
index 6d75e7a34c47bf25332d5a9cc24ac9cc153c217b..4f0f5f303cf933dab61c1b1e6f723d7ed7b8bb6b 100644
(file)
--- 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 ();
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)
#ifdef KERNEL
serial_flush ();
if (power_off_when_done)