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