Commit | Line | Data |
---|---|---|
e7b71058 BJ |
1 | static char sccsid[] = "@(#)message.c 4.1 %G%"; |
2 | # | |
3 | /* | |
4 | * | |
5 | * UNIX debugger | |
6 | * | |
7 | */ | |
8 | ||
9 | ||
10 | ||
11 | #include "mac.h" | |
12 | #include "mode.h" | |
13 | ||
14 | ||
15 | MSG BADMOD = "bad modifier"; | |
16 | MSG NOBKPT = "no breakpoint set"; | |
17 | MSG NOPCS = "no process"; | |
18 | MSG BADTXT = "text address not found"; | |
19 | MSG BADDAT = "data address not found"; | |
20 | MSG EXBKPT = "too many breakpoints"; | |
21 | MSG BADWAIT = "wait error: process disappeared!"; | |
22 | MSG ENDPCS = "process terminated"; | |
23 | MSG NOFORK = "try again"; | |
24 | MSG SZBKPT = "bkpt: command too long"; | |
25 | MSG BADMAG = "bad core magic number"; | |
26 | ||
27 | STRING signals[] = { | |
28 | "", | |
29 | "hangup", | |
30 | "interrupt", | |
31 | "quit", | |
32 | "illegal instruction", | |
33 | "trace/BPT", | |
34 | "IOT", | |
35 | "EMT", | |
36 | "floating exception", | |
37 | "killed", | |
38 | "bus error", | |
39 | "memory fault", | |
40 | "bad system call", | |
41 | "broken pipe", | |
42 | "alarm call", | |
43 | "terminated", | |
44 | "signal 16", | |
45 | "stop (signal)", | |
46 | "stop (tty)", | |
47 | "continue (signal)", | |
48 | "child termination", | |
49 | "stop (tty input)", | |
50 | "stop (tty output)", | |
51 | "input available (signal)", | |
52 | "cpu timelimit", | |
53 | "file sizelimit", | |
54 | "signal 26", | |
55 | "signal 27", | |
56 | "signal 28", | |
57 | "signal 29", | |
58 | "signal 30", | |
59 | "signal 31", | |
60 | }; | |
61 | int nsig = sizeof (signals)/sizeof (signals[0]); |