1*47822Sbostic /*- 2*47822Sbostic * Copyright (c) 1991 The Regents of the University of California. 3*47822Sbostic * All rights reserved. 4*47822Sbostic * 5*47822Sbostic * %sccs.include.proprietary.c% 6*47822Sbostic */ 7*47822Sbostic 836559Sbostic #ifndef lint 9*47822Sbostic static char sccsid[] = "@(#)strings.c 5.2 (Berkeley) 04/04/91"; 10*47822Sbostic #endif /* not lint */ 1136559Sbostic 1236559Sbostic /* 1336559Sbostic * adb - readonly data 1436559Sbostic */ 1536559Sbostic 1636559Sbostic #ifndef lint 17*47822Sbostic char VERSION[] = "\nVERSION VM/VAX4.3 DATE 04/04/91\n"; 1836559Sbostic #endif 1936559Sbostic 2036559Sbostic char BADMOD[] = "bad modifier"; 2136559Sbostic char BADCOM[] = "bad command"; 2236559Sbostic char BADSYM[] = "symbol not found"; 2336559Sbostic char BADLOC[] = "automatic variable not found"; 2436559Sbostic char NOCFN[] = "c routine not found"; 2536559Sbostic char NOMATCH[] = "cannot locate value"; 2636559Sbostic char NOBKPT[] = "no breakpoint set"; 2736559Sbostic char NOADR[] = "address expected"; 2836559Sbostic char NOPCS[] = "no process"; 2936559Sbostic char BADVAR[] = "bad variable"; 3036559Sbostic char EXBKPT[] = "too many breakpoints"; 3136559Sbostic char ADDRWRAP[] = "address wrap around"; 3236559Sbostic char BADEQ[] = "unexpected `='"; 3336559Sbostic char BADWAIT[] = "wait error: process disappeared!"; 3436559Sbostic char ENDPCS[] = "process terminated"; 3536559Sbostic char NOFORK[] = "try again"; 3636559Sbostic char BADSYN[] = "syntax error"; 3736559Sbostic char NOEOR[] = "newline expected"; 3836559Sbostic char SZBKPT[] = "bkpt: command too long"; 3936559Sbostic char LONGFIL[] = "filename too long"; 4036559Sbostic char NOTOPEN[] = "cannot open"; 4136559Sbostic char TOODEEP[] = "$<< nesting too deep"; 4236559Sbostic 4336559Sbostic char *syscalls[] = { 4436559Sbostic "indir", "exit", "fork", "read", 4536559Sbostic "write", "open", "close", "owait", 4636559Sbostic "creat", "link", "unlink", "execv", 4736559Sbostic "chdir", "otime", "mknod", "chmod", 4836559Sbostic "chown", "obreak", "ostat", "lseek", 4936559Sbostic "getpid", "mount", "umount", "osetuid", 5036559Sbostic "getuid", "ostime", "ptrace", "oalarm", 5136559Sbostic "ofstat", "opause", "outime", "ostty", 5236559Sbostic "ogtty", "access", "onice", "oftime", 5336559Sbostic "sync", "kill", "stat", "osetpgrp", 5436559Sbostic "lstat", "dup", "pipe", "otimes", 5536559Sbostic "profil", 0, "osetgid", "getgid", 5636559Sbostic "osig", 0, 0, "acct", 5736559Sbostic "ophys", "olock", "ioctl", "reboot", 5836559Sbostic "ompxchan", "symlink", "readlink", "execve", 5936559Sbostic "umask", "chroot", "fstat", 0, 6036559Sbostic "getpagesize", "mremap", "vfork", "ovread", 6136559Sbostic "ovwrite", "sbrk", "sstk", "mmap", 6236559Sbostic "ovadvise", "munmap", "mprotect", "madvise", 6336559Sbostic "vhangup", "ovlimit", "mincore", "getgroups", 6436559Sbostic "setgroups", "getpgrp", "setpgrp", "setitimer", 6536559Sbostic "wait", "swapon", "getitimer", "gethostname", 6636559Sbostic "sethostname", "getdtablesize", "dup2", "getdopt", 6736559Sbostic "fcntl", "select", "setdopt", "fsync", 6836559Sbostic "setpriority", "socket", "connect", "accept", 6936559Sbostic "getpriority", "send", "recv", "osocketaddr", 7036559Sbostic "bind", "setsockopt", "listen", "ovtimes", 7136559Sbostic "sigvec", "sigblock", "sigsetmask", "sigpause", 7236559Sbostic "sigstack", "recvmsg", "sendmsg", "vtrace", 7336559Sbostic "gettimeofday", "getrusage", "getsockopt", "resuba", 7436559Sbostic "readv", "writev", "settimeofday", "fchown", 7536559Sbostic "fchmod", "recvfrom", "setreuid", "setregid", 7636559Sbostic "rename", "truncate", "ftruncate", "flock", 7736559Sbostic 0, "sendto", "shutdown", "socketpair", 7836559Sbostic "mkdir", "rmdir", "utimes", 0, 7936559Sbostic 0, "getpeername", "gethostid", "sethostid", 8036559Sbostic "getrlimit", "setrlimit", "killpg", 0, 8136559Sbostic "quota", "qquota", "getsockname", 8236559Sbostic }; 8336559Sbostic int nsys = sizeof(syscalls) / sizeof(*syscalls); 84