5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, see <http://www.gnu.org/licenses/>.
19 { TARGET_FREEBSD_NR___semctl, "__semctl", NULL, NULL, NULL },
20 { TARGET_FREEBSD_NR___syscall, "__syscall", NULL, NULL, NULL },
21 { TARGET_FREEBSD_NR___sysctl, "__sysctl", NULL, print_sysctl, NULL },
22 { TARGET_FREEBSD_NR_accept, "accept", "%s(%d,%#x,%#x)", NULL, NULL },
23 { TARGET_FREEBSD_NR_access, "access", "%s(\"%s\",%#o)", NULL, NULL },
24 { TARGET_FREEBSD_NR_acct, "acct", NULL, NULL, NULL },
25 { TARGET_FREEBSD_NR_adjtime, "adjtime", NULL, NULL, NULL },
26 { TARGET_FREEBSD_NR_bind, "bind", NULL, NULL, NULL },
27 { TARGET_FREEBSD_NR_break, "break", NULL, NULL, NULL },
28 { TARGET_FREEBSD_NR_chdir, "chdir", "%s(\"%s\")", NULL, NULL },
29 { TARGET_FREEBSD_NR_chflags, "chflags", NULL, NULL, NULL },
30 { TARGET_FREEBSD_NR_chmod, "chmod", "%s(\"%s\",%#o)", NULL, NULL },
31 { TARGET_FREEBSD_NR_chown, "chown", NULL, NULL, NULL },
32 { TARGET_FREEBSD_NR_chroot, "chroot", NULL, NULL, NULL },
33 { TARGET_FREEBSD_NR_clock_getres, "clock_getres", NULL, NULL, NULL },
34 { TARGET_FREEBSD_NR_clock_gettime, "clock_gettime", NULL, NULL, NULL },
35 { TARGET_FREEBSD_NR_clock_settime, "clock_settime", NULL, NULL, NULL },
36 { TARGET_FREEBSD_NR_close, "close", "%s(%d)", NULL, NULL },
37 { TARGET_FREEBSD_NR_connect, "connect", "%s(%d,%#x,%d)", NULL, NULL },
38 { TARGET_FREEBSD_NR_dup, "dup", NULL, NULL, NULL },
39 { TARGET_FREEBSD_NR_dup2, "dup2", NULL, NULL, NULL },
40 { TARGET_FREEBSD_NR_execve, "execve", NULL, print_execve, NULL },
41 { TARGET_FREEBSD_NR_exit, "exit", "%s(%d)\n", NULL, NULL },
42 { TARGET_FREEBSD_NR_fchdir, "fchdir", NULL, NULL, NULL },
43 { TARGET_FREEBSD_NR_fchflags, "fchflags", NULL, NULL, NULL },
44 { TARGET_FREEBSD_NR_fchmod, "fchmod", "%s(%d,%#o)", NULL, NULL },
45 { TARGET_FREEBSD_NR_fchown, "fchown", "%s(\"%s\",%d,%d)", NULL, NULL },
46 { TARGET_FREEBSD_NR_fcntl, "fcntl", NULL, NULL, NULL },
47 { TARGET_FREEBSD_NR_fhopen, "fhopen", NULL, NULL, NULL },
48 { TARGET_FREEBSD_NR_fhstat, "fhstat", NULL, NULL, NULL },
49 { TARGET_FREEBSD_NR_fhstatfs, "fhstatfs", NULL, NULL, NULL },
50 { TARGET_FREEBSD_NR_flock, "flock", NULL, NULL, NULL },
51 { TARGET_FREEBSD_NR_fork, "fork", "%s()", NULL, NULL },
52 { TARGET_FREEBSD_NR_fpathconf, "fpathconf", NULL, NULL, NULL },
53 { TARGET_FREEBSD_NR_fstat, "fstat", "%s(%d,%p)", NULL, NULL },
54 { TARGET_FREEBSD_NR_fstatfs, "fstatfs", "%s(%d,%p)", NULL, NULL },
55 { TARGET_FREEBSD_NR_fsync, "fsync", NULL, NULL, NULL },
56 { TARGET_FREEBSD_NR_ftruncate, "ftruncate", NULL, NULL, NULL },
57 { TARGET_FREEBSD_NR_futimes, "futimes", NULL, NULL, NULL },
58 { TARGET_FREEBSD_NR_getdirentries, "getdirentries", NULL, NULL, NULL },
59 { TARGET_FREEBSD_NR_freebsd6_mmap, "freebsd6_mmap", NULL, NULL, NULL },
60 { TARGET_FREEBSD_NR_getegid, "getegid", "%s()", NULL, NULL },
61 { TARGET_FREEBSD_NR_geteuid, "geteuid", "%s()", NULL, NULL },
62 { TARGET_FREEBSD_NR_getfh, "getfh", NULL, NULL, NULL },
63 { TARGET_FREEBSD_NR_getfsstat, "getfsstat", NULL, NULL, NULL },
64 { TARGET_FREEBSD_NR_getgid, "getgid", "%s()", NULL, NULL },
65 { TARGET_FREEBSD_NR_getgroups, "getgroups", NULL, NULL, NULL },
66 { TARGET_FREEBSD_NR_getitimer, "getitimer", NULL, NULL, NULL },
67 { TARGET_FREEBSD_NR_getlogin, "getlogin", NULL, NULL, NULL },
68 { TARGET_FREEBSD_NR_getpeername, "getpeername", NULL, NULL, NULL },
69 { TARGET_FREEBSD_NR_getpgid, "getpgid", NULL, NULL, NULL },
70 { TARGET_FREEBSD_NR_getpgrp, "getpgrp", "%s()", NULL, NULL },
71 { TARGET_FREEBSD_NR_getpid, "getpid", "%s()", NULL, NULL },
72 { TARGET_FREEBSD_NR_getppid, "getppid", "%s()", NULL, NULL },
73 { TARGET_FREEBSD_NR_getpriority, "getpriority", "%s(%#x,%#x)", NULL, NULL },
74 { TARGET_FREEBSD_NR_getresgid, "getresgid", NULL, NULL, NULL },
75 { TARGET_FREEBSD_NR_getresuid, "getresuid", NULL, NULL, NULL },
76 { TARGET_FREEBSD_NR_getrlimit, "getrlimit", NULL, NULL, NULL },
77 { TARGET_FREEBSD_NR_getrusage, "getrusage", NULL, NULL, NULL },
78 { TARGET_FREEBSD_NR_getsid, "getsid", NULL, NULL, NULL },
79 { TARGET_FREEBSD_NR_getsockname, "getsockname", NULL, NULL, NULL },
80 { TARGET_FREEBSD_NR_getsockopt, "getsockopt", NULL, NULL, NULL },
81 { TARGET_FREEBSD_NR_gettimeofday, "gettimeofday", NULL, NULL, NULL },
82 { TARGET_FREEBSD_NR_getuid, "getuid", "%s()", NULL, NULL },
83 { TARGET_FREEBSD_NR_ioctl, "ioctl", NULL, NULL, NULL },
84 { TARGET_FREEBSD_NR_issetugid, "issetugid", "%s()", NULL, NULL },
85 { TARGET_FREEBSD_NR_kevent, "kevent", NULL, NULL, NULL },
86 { TARGET_FREEBSD_NR_kill, "kill", NULL, NULL, NULL },
87 { TARGET_FREEBSD_NR_kqueue, "kqueue", NULL, NULL, NULL },
88 { TARGET_FREEBSD_NR_ktrace, "ktrace", NULL, NULL, NULL },
89 { TARGET_FREEBSD_NR_lchown, "lchown", NULL, NULL, NULL },
90 { TARGET_FREEBSD_NR_link, "link", "%s(\"%s\",\"%s\")", NULL, NULL },
91 { TARGET_FREEBSD_NR_listen, "listen", NULL, NULL, NULL },
92 { TARGET_FREEBSD_NR_lseek, "lseek", NULL, NULL, NULL },
93 { TARGET_FREEBSD_NR_lstat, "lstat", "%s(\"%s\",%p)", NULL, NULL },
94 { TARGET_FREEBSD_NR_madvise, "madvise", NULL, NULL, NULL },
95 { TARGET_FREEBSD_NR_mincore, "mincore", NULL, NULL, NULL },
96 { TARGET_FREEBSD_NR_minherit, "minherit", NULL, NULL, NULL },
97 { TARGET_FREEBSD_NR_mkdir, "mkdir", "%s(\"%s\",%#o)", NULL, NULL },
98 { TARGET_FREEBSD_NR_mkfifo, "mkfifo", NULL, NULL, NULL },
99 { TARGET_FREEBSD_NR_mknod, "mknod", "%s(\"%s\",%#o,%#x)", NULL, NULL },
100 { TARGET_FREEBSD_NR_mlock, "mlock", NULL, NULL, NULL },
101 { TARGET_FREEBSD_NR_mlockall, "mlockall", NULL, NULL, NULL },
102 { TARGET_FREEBSD_NR_mmap, "mmap", NULL, NULL, print_syscall_ret_addr },
103 { TARGET_FREEBSD_NR_mount, "mount", NULL, NULL, NULL },
104 { TARGET_FREEBSD_NR_mprotect, "mprotect", "%s(%#x,%#x,%d)", NULL, NULL },
105 { TARGET_FREEBSD_NR_msgctl, "msgctl", NULL, NULL, NULL },
106 { TARGET_FREEBSD_NR_msgget, "msgget", NULL, NULL, NULL },
107 { TARGET_FREEBSD_NR_msgrcv, "msgrcv", NULL, NULL, NULL },
108 { TARGET_FREEBSD_NR_msgsnd, "msgsnd", NULL, NULL, NULL },
109 { TARGET_FREEBSD_NR_msync, "msync", NULL, NULL, NULL },
110 { TARGET_FREEBSD_NR_munlock, "munlock", NULL, NULL, NULL },
111 { TARGET_FREEBSD_NR_munlockall, "munlockall", NULL, NULL, NULL },
112 { TARGET_FREEBSD_NR_munmap, "munmap", "%s(%p,%d)", NULL, NULL },
113 { TARGET_FREEBSD_NR_nanosleep, "nanosleep", NULL, NULL, NULL },
114 { TARGET_FREEBSD_NR_nfssvc, "nfssvc", NULL, NULL, NULL },
115 { TARGET_FREEBSD_NR_open, "open", "%s(\"%s\",%#x,%#o)", NULL, NULL },
116 { TARGET_FREEBSD_NR_pathconf, "pathconf", NULL, NULL, NULL },
117 { TARGET_FREEBSD_NR_pipe, "pipe", NULL, NULL, NULL },
118 { TARGET_FREEBSD_NR_poll, "poll", NULL, NULL, NULL },
119 { TARGET_FREEBSD_NR_pread, "pread", NULL, NULL, NULL },
120 { TARGET_FREEBSD_NR_preadv, "preadv", NULL, NULL, NULL },
121 { TARGET_FREEBSD_NR_profil, "profil", NULL, NULL, NULL },
122 { TARGET_FREEBSD_NR_ptrace, "ptrace", NULL, NULL, NULL },
123 { TARGET_FREEBSD_NR_pwrite, "pwrite", NULL, NULL, NULL },
124 { TARGET_FREEBSD_NR_pwritev, "pwritev", NULL, NULL, NULL },
125 { TARGET_FREEBSD_NR_quotactl, "quotactl", NULL, NULL, NULL },
126 { TARGET_FREEBSD_NR_read, "read", "%s(%d,%#x,%d)", NULL, NULL },
127 { TARGET_FREEBSD_NR_readlink, "readlink", "%s(\"%s\",%p,%d)", NULL, NULL },
128 { TARGET_FREEBSD_NR_readv, "readv", NULL, NULL, NULL },
129 { TARGET_FREEBSD_NR_reboot, "reboot", NULL, NULL, NULL },
130 { TARGET_FREEBSD_NR_recvfrom, "recvfrom", NULL, NULL, NULL },
131 { TARGET_FREEBSD_NR_recvmsg, "recvmsg", NULL, NULL, NULL },
132 { TARGET_FREEBSD_NR_rename, "rename", "%s(\"%s\",\"%s\")", NULL, NULL },
133 { TARGET_FREEBSD_NR_revoke, "revoke", NULL, NULL, NULL },
134 { TARGET_FREEBSD_NR_rfork, "rfork", NULL, NULL, NULL },
135 { TARGET_FREEBSD_NR_rmdir, "rmdir", NULL, NULL, NULL },
136 { TARGET_FREEBSD_NR_sbrk, "sbrk", NULL, NULL, NULL },
137 { TARGET_FREEBSD_NR_sched_yield, "sched_yield", NULL, NULL, NULL },
138 { TARGET_FREEBSD_NR_select, "select", NULL, NULL, NULL },
139 { TARGET_FREEBSD_NR_semget, "semget", NULL, NULL, NULL },
140 { TARGET_FREEBSD_NR_semop, "semop", NULL, NULL, NULL },
141 { TARGET_FREEBSD_NR_sendmsg, "sendmsg", NULL, NULL, NULL },
142 { TARGET_FREEBSD_NR_sendto, "sendto", NULL, NULL, NULL },
143 { TARGET_FREEBSD_NR_setegid, "setegid", NULL, NULL, NULL },
144 { TARGET_FREEBSD_NR_seteuid, "seteuid", NULL, NULL, NULL },
145 { TARGET_FREEBSD_NR_setgid, "setgid", NULL, NULL, NULL },
146 { TARGET_FREEBSD_NR_setgroups, "setgroups", NULL, NULL, NULL },
147 { TARGET_FREEBSD_NR_setitimer, "setitimer", NULL, NULL, NULL },
148 { TARGET_FREEBSD_NR_setlogin, "setlogin", NULL, NULL, NULL },
149 { TARGET_FREEBSD_NR_setpgid, "setpgid", NULL, NULL, NULL },
150 { TARGET_FREEBSD_NR_setpriority, "setpriority", NULL, NULL, NULL },
151 { TARGET_FREEBSD_NR_setregid, "setregid", NULL, NULL, NULL },
152 { TARGET_FREEBSD_NR_setresgid, "setresgid", NULL, NULL, NULL },
153 { TARGET_FREEBSD_NR_setresuid, "setresuid", NULL, NULL, NULL },
154 { TARGET_FREEBSD_NR_setreuid, "setreuid", NULL, NULL, NULL },
155 { TARGET_FREEBSD_NR_setrlimit, "setrlimit", NULL, NULL, NULL },
156 { TARGET_FREEBSD_NR_setsid, "setsid", NULL, NULL, NULL },
157 { TARGET_FREEBSD_NR_setsockopt, "setsockopt", NULL, NULL, NULL },
158 { TARGET_FREEBSD_NR_settimeofday, "settimeofday", NULL, NULL, NULL },
159 { TARGET_FREEBSD_NR_setuid, "setuid", NULL, NULL, NULL },
160 { TARGET_FREEBSD_NR_shmat, "shmat", NULL, NULL, NULL },
161 { TARGET_FREEBSD_NR_shmctl, "shmctl", NULL, NULL, NULL },
162 { TARGET_FREEBSD_NR_shmdt, "shmdt", NULL, NULL, NULL },
163 { TARGET_FREEBSD_NR_shmget, "shmget", NULL, NULL, NULL },
164 { TARGET_FREEBSD_NR_shutdown, "shutdown", NULL, NULL, NULL },
165 { TARGET_FREEBSD_NR_sigaction, "sigaction", NULL, NULL, NULL },
166 { TARGET_FREEBSD_NR_sigaltstack, "sigaltstack", "%s(%p,%p)", NULL, NULL },
167 { TARGET_FREEBSD_NR_sigpending, "sigpending", NULL, NULL, NULL },
168 { TARGET_FREEBSD_NR_sigprocmask, "sigprocmask", NULL, NULL, NULL },
169 { TARGET_FREEBSD_NR_sigreturn, "sigreturn", NULL, NULL, NULL },
170 { TARGET_FREEBSD_NR_sigsuspend, "sigsuspend", NULL, NULL, NULL },
171 { TARGET_FREEBSD_NR_socket, "socket", NULL, NULL, NULL },
172 { TARGET_FREEBSD_NR_socketpair, "socketpair", NULL, NULL, NULL },
173 { TARGET_FREEBSD_NR_sstk, "sstk", NULL, NULL, NULL },
174 { TARGET_FREEBSD_NR_stat, "stat", "%s(\"%s\",%p)", NULL, NULL },
175 { TARGET_FREEBSD_NR_statfs, "statfs", "%s(\"%s\",%p)", NULL, NULL },
176 { TARGET_FREEBSD_NR_symlink, "symlink", "%s(\"%s\",\"%s\")", NULL, NULL },
177 { TARGET_FREEBSD_NR_sync, "sync", NULL, NULL, NULL },
178 { TARGET_FREEBSD_NR_sysarch, "sysarch", NULL, NULL, NULL },
179 { TARGET_FREEBSD_NR_syscall, "syscall", NULL, NULL, NULL },
180 { TARGET_FREEBSD_NR_truncate, "truncate", NULL, NULL, NULL },
181 { TARGET_FREEBSD_NR_umask, "umask", "%s(%#o)", NULL, NULL },
182 { TARGET_FREEBSD_NR_unlink, "unlink", "%s(\"%s\")", NULL, NULL },
183 { TARGET_FREEBSD_NR_unmount, "unmount", NULL, NULL, NULL },
184 { TARGET_FREEBSD_NR_utimes, "utimes", NULL, NULL, NULL },
185 { TARGET_FREEBSD_NR_vfork, "vfork", NULL, NULL, NULL },
186 { TARGET_FREEBSD_NR_wait4, "wait4", NULL, NULL, NULL },
187 { TARGET_FREEBSD_NR_write, "write", "%s(%d,%#x,%d)", NULL, NULL },
188 { TARGET_FREEBSD_NR_writev, "writev", "%s(%d,%p,%#x)", NULL, NULL },