24#include <sys/procfs.h>
46 { PR_REQUESTED,
"PR_REQUESTED",
47 "Directed to stop by debugger via P(IO)CSTOP or P(IO)CWSTOP" },
48 { PR_SIGNALLED,
"PR_SIGNALLED",
"Receipt of a traced signal" },
49 { PR_SYSENTRY,
"PR_SYSENTRY",
"Entry to a traced system call" },
50 { PR_SYSEXIT,
"PR_SYSEXIT",
"Exit from a traced system call" },
51 { PR_JOBCONTROL,
"PR_JOBCONTROL",
"Default job control stop signal action" },
52 { PR_FAULTED,
"PR_FAULTED",
"Incurred a traced hardware fault" },
53 { PR_SUSPENDED,
"PR_SUSPENDED",
"Process suspended" },
54 { PR_CHECKPOINT,
"PR_CHECKPOINT",
"Process stopped at checkpoint" },
86 fprintf (file,
"Entry to ");
90 fprintf (file,
"Exit from ");
97 fprintf (file,
"Unknown why %ld, what %ld\n", why, what);
100 fprintf (file,
"\n");
105 fprintf (file,
"Unknown pr_why.\n");
void proc_prettyfprint_syscall(FILE *file, int num, int verbose)
void proc_prettyfprint_fault(FILE *file, int faultno, int verbose)
void proc_prettyfprint_signal(FILE *file, int signo, int verbose)
void proc_prettyfprint_why(FILE *file, unsigned long why, unsigned long what, int verbose)
static struct trans pr_why_table[]
void proc_prettyprint_why(unsigned long why, unsigned long what, int verbose)