13 {
14 static bool explained;
16
18 for (
frame = __builtin_frame_address (0);
23
24 if (!explained) {
25 explained = true;
26 printf (
"The `backtrace' program can make call stacks useful.\n"
27 "Read \"Backtraces\" in the \"Debugging Tools\" chapter\n"
28 "of the Pintos documentation for more information.\n");
29 }
30}
#define NULL
Definition: stddef.h:4
int printf(const char *,...) PRINTF_FORMAT(1