1*36559Sbostic #ifndef lint 2*36559Sbostic static char sccsid[] = "@(#)strings.c 5.1 (Berkeley) 01/16/89"; 3*36559Sbostic #endif 4*36559Sbostic 5*36559Sbostic /* 6*36559Sbostic * adb - readonly data 7*36559Sbostic */ 8*36559Sbostic 9*36559Sbostic #ifndef lint 10*36559Sbostic char VERSION[] = "\nVERSION VM/VAX4.3 DATE 01/16/89\n"; 11*36559Sbostic #endif 12*36559Sbostic 13*36559Sbostic char BADMOD[] = "bad modifier"; 14*36559Sbostic char BADCOM[] = "bad command"; 15*36559Sbostic char BADSYM[] = "symbol not found"; 16*36559Sbostic char BADLOC[] = "automatic variable not found"; 17*36559Sbostic char NOCFN[] = "c routine not found"; 18*36559Sbostic char NOMATCH[] = "cannot locate value"; 19*36559Sbostic char NOBKPT[] = "no breakpoint set"; 20*36559Sbostic char NOADR[] = "address expected"; 21*36559Sbostic char NOPCS[] = "no process"; 22*36559Sbostic char BADVAR[] = "bad variable"; 23*36559Sbostic char EXBKPT[] = "too many breakpoints"; 24*36559Sbostic char ADDRWRAP[] = "address wrap around"; 25*36559Sbostic char BADEQ[] = "unexpected `='"; 26*36559Sbostic char BADWAIT[] = "wait error: process disappeared!"; 27*36559Sbostic char ENDPCS[] = "process terminated"; 28*36559Sbostic char NOFORK[] = "try again"; 29*36559Sbostic char BADSYN[] = "syntax error"; 30*36559Sbostic char NOEOR[] = "newline expected"; 31*36559Sbostic char SZBKPT[] = "bkpt: command too long"; 32*36559Sbostic char LONGFIL[] = "filename too long"; 33*36559Sbostic char NOTOPEN[] = "cannot open"; 34*36559Sbostic char TOODEEP[] = "$<< nesting too deep"; 35*36559Sbostic 36*36559Sbostic char *syscalls[] = { 37*36559Sbostic "indir", "exit", "fork", "read", 38*36559Sbostic "write", "open", "close", "owait", 39*36559Sbostic "creat", "link", "unlink", "execv", 40*36559Sbostic "chdir", "otime", "mknod", "chmod", 41*36559Sbostic "chown", "obreak", "ostat", "lseek", 42*36559Sbostic "getpid", "mount", "umount", "osetuid", 43*36559Sbostic "getuid", "ostime", "ptrace", "oalarm", 44*36559Sbostic "ofstat", "opause", "outime", "ostty", 45*36559Sbostic "ogtty", "access", "onice", "oftime", 46*36559Sbostic "sync", "kill", "stat", "osetpgrp", 47*36559Sbostic "lstat", "dup", "pipe", "otimes", 48*36559Sbostic "profil", 0, "osetgid", "getgid", 49*36559Sbostic "osig", 0, 0, "acct", 50*36559Sbostic "ophys", "olock", "ioctl", "reboot", 51*36559Sbostic "ompxchan", "symlink", "readlink", "execve", 52*36559Sbostic "umask", "chroot", "fstat", 0, 53*36559Sbostic "getpagesize", "mremap", "vfork", "ovread", 54*36559Sbostic "ovwrite", "sbrk", "sstk", "mmap", 55*36559Sbostic "ovadvise", "munmap", "mprotect", "madvise", 56*36559Sbostic "vhangup", "ovlimit", "mincore", "getgroups", 57*36559Sbostic "setgroups", "getpgrp", "setpgrp", "setitimer", 58*36559Sbostic "wait", "swapon", "getitimer", "gethostname", 59*36559Sbostic "sethostname", "getdtablesize", "dup2", "getdopt", 60*36559Sbostic "fcntl", "select", "setdopt", "fsync", 61*36559Sbostic "setpriority", "socket", "connect", "accept", 62*36559Sbostic "getpriority", "send", "recv", "osocketaddr", 63*36559Sbostic "bind", "setsockopt", "listen", "ovtimes", 64*36559Sbostic "sigvec", "sigblock", "sigsetmask", "sigpause", 65*36559Sbostic "sigstack", "recvmsg", "sendmsg", "vtrace", 66*36559Sbostic "gettimeofday", "getrusage", "getsockopt", "resuba", 67*36559Sbostic "readv", "writev", "settimeofday", "fchown", 68*36559Sbostic "fchmod", "recvfrom", "setreuid", "setregid", 69*36559Sbostic "rename", "truncate", "ftruncate", "flock", 70*36559Sbostic 0, "sendto", "shutdown", "socketpair", 71*36559Sbostic "mkdir", "rmdir", "utimes", 0, 72*36559Sbostic 0, "getpeername", "gethostid", "sethostid", 73*36559Sbostic "getrlimit", "setrlimit", "killpg", 0, 74*36559Sbostic "quota", "qquota", "getsockname", 75*36559Sbostic }; 76*36559Sbostic int nsys = sizeof(syscalls) / sizeof(*syscalls); 77