1*7775Srrh static char sccsid[] = "@(#)message.c 4.2 08/17/82"; 21338Sbill # 31338Sbill /* 41338Sbill * 51338Sbill * UNIX debugger 61338Sbill * 71338Sbill */ 81338Sbill 91338Sbill 101338Sbill 111338Sbill #include "mac.h" 121338Sbill #include "mode.h" 131338Sbill 141338Sbill 151338Sbill MSG BADMOD = "bad modifier"; 161338Sbill MSG NOBKPT = "no breakpoint set"; 171338Sbill MSG NOPCS = "no process"; 181338Sbill MSG BADTXT = "text address not found"; 191338Sbill MSG BADDAT = "data address not found"; 201338Sbill MSG EXBKPT = "too many breakpoints"; 211338Sbill MSG BADWAIT = "wait error: process disappeared!"; 221338Sbill MSG ENDPCS = "process terminated"; 231338Sbill MSG NOFORK = "try again"; 241338Sbill MSG SZBKPT = "bkpt: command too long"; 251338Sbill MSG BADMAG = "bad core magic number"; 261338Sbill 271338Sbill STRING signals[] = { 281338Sbill "", 291338Sbill "hangup", 301338Sbill "interrupt", 311338Sbill "quit", 321338Sbill "illegal instruction", 331338Sbill "trace/BPT", 341338Sbill "IOT", 351338Sbill "EMT", 361338Sbill "floating exception", 371338Sbill "killed", 381338Sbill "bus error", 391338Sbill "memory fault", 401338Sbill "bad system call", 411338Sbill "broken pipe", 421338Sbill "alarm call", 431338Sbill "terminated", 441338Sbill "signal 16", 451338Sbill "stop (signal)", 461338Sbill "stop (tty)", 471338Sbill "continue (signal)", 481338Sbill "child termination", 491338Sbill "stop (tty input)", 501338Sbill "stop (tty output)", 511338Sbill "input available (signal)", 521338Sbill "cpu timelimit", 531338Sbill "file sizelimit", 541338Sbill "signal 26", 551338Sbill "signal 27", 561338Sbill "signal 28", 571338Sbill "signal 29", 581338Sbill "signal 30", 591338Sbill "signal 31", 601338Sbill }; 611338Sbill int nsig = sizeof (signals)/sizeof (signals[0]); 62