Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/dist/gdb6/sim/ppc update system call table to reflect re...



details:   https://anonhg.NetBSD.org/src/rev/aef93b11d0ce
branches:  trunk
changeset: 753690:aef93b11d0ce
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Apr 06 23:02:10 2010 +0000

description:
update system call table to reflect reality.

diffstat:

 gnu/dist/gdb6/sim/ppc/emul_netbsd.c |  327 +++++++++++++++++++++++++++++++----
 1 files changed, 287 insertions(+), 40 deletions(-)

diffs (truncated from 449 to 300 lines):

diff -r 35eac9d5bc75 -r aef93b11d0ce gnu/dist/gdb6/sim/ppc/emul_netbsd.c
--- a/gnu/dist/gdb6/sim/ppc/emul_netbsd.c       Tue Apr 06 22:41:41 2010 +0000
+++ b/gnu/dist/gdb6/sim/ppc/emul_netbsd.c       Tue Apr 06 23:02:10 2010 +0000
@@ -1039,21 +1039,21 @@
   /* 4 */ { do_write, "write" },
   /* 5 */ { do_open, "open" },
   /* 6 */ { do_close, "close" },
-  /* 7 */ { 0, "wait4" },
+  { 0, }, /* 7 is old wait4 */
   { 0, }, /* 8 is old creat */
   /* 9 */ { 0, "link" },
   /* 10 */ { 0, "unlink" },
   { 0, }, /* 11 is obsolete execv */
   /* 12 */ { 0, "chdir" },
   /* 13 */ { 0, "fchdir" },
-  /* 14 */ { 0, "mknod" },
+  { 0, }, /* 14 is old mknod */
   /* 15 */ { 0, "chmod" },
   /* 16 */ { 0, "chown" },
   /* 17 */ { do_break, "break" },
-  /* 18 */ { 0, "getfsstat" },
+  { 0, }, /* 18 is old getfsstat */
   { 0, }, /* 19 is old lseek */
   /* 20 */ { do_getpid, "getpid" },
-  /* 21 */ { 0, "mount" },
+  { 0, } /* 21 is old mount */
   /* 22 */ { 0, "unmount" },
   /* 23 */ { 0, "setuid" },
   /* 24 */ { do_getuid, "getuid" },
@@ -1078,16 +1078,16 @@
   /* 43 */ { do_getegid, "getegid" },
   /* 44 */ { 0, "profil" },
   /* 45 */ { 0, "ktrace" },
-  /* 46 */ { 0, "sigaction" },
+  { 0, }, /* 46 is old sigaction */
   /* 47 */ { do_getgid, "getgid" },
-  /* 48 */ { do_sigprocmask, "sigprocmask" },
+  { 0, }, /* 48 is old sigprocmask */
   /* 49 */ { 0, "getlogin" },
   /* 50 */ { 0, "setlogin" },
   /* 51 */ { 0, "acct" },
-  /* 52 */ { 0, "sigpending" },
-  /* 53 */ { 0, "sigaltstack" },
+  { 0, }, /* 52 is old sigpending */
+  { 0, }, /* 53 is old sigaltstack */
   /* 54 */ { do_ioctl, "ioctl" },
-  /* 55 */ { 0, "reboot" },
+  { 0, }, /* 55 is old reboot */
   /* 56 */ { 0, "revoke" },
   /* 57 */ { 0, "symlink" },
   /* 58 */ { 0, "readlink" },
@@ -1097,7 +1097,7 @@
   { 0, }, /* 62 is old fstat */
   { 0, }, /* 63 is old getkerninfo */
   { 0, }, /* 64 is old getpagesize */
-  /* 65 */ { 0, "msync" },
+  { 0, }, /* 65 is old msync */
   /* 66 */ { 0, "vfork" },
   { 0, }, /* 67 is obsolete vread */
   { 0, }, /* 68 is obsolete vwrite */
@@ -1115,27 +1115,27 @@
   /* 80 */ { 0, "setgroups" },
   /* 81 */ { 0, "getpgrp" },
   /* 82 */ { 0, "setpgid" },
-  /* 83 */ { 0, "setitimer" },
+  { 0, }, /* 83 is old setitimer */
   { 0, }, /* 84 is old wait */
-  /* 85 */ { 0, "swapon" },
-  /* 86 */ { 0, "getitimer" },
+  { 0, }, /* 85 is old swapon */
+  { 0, }, /* 86 is old getitimer */
   { 0, }, /* 87 is old gethostname */
   { 0, }, /* 88 is old sethostname */
   { 0, }, /* 89 is old getdtablesize */
   { do_dup2, "dup2" },
   { 0, }, /* 91 */
   /* 92 */ { do_fcntl, "fcntl" },
-  /* 93 */ { 0, "select" },
+  { 0, }, /* 93 is old select */
   { 0, }, /* 94 */
   /* 95 */ { 0, "fsync" },
   /* 96 */ { 0, "setpriority" },
-  /* 97 */ { 0, "socket" },
-  /* 98 */ { 0, "connect" },
+  { 0, }, /* 97 is old socket */
+  { 0, }, /* 98 is old connect */
   { 0, }, /* 99 is old accept */
   /* 100 */ { 0, "getpriority" },
   { 0, }, /* 101 is old send */
   { 0, }, /* 102 is old recv */
-  /* 103 */ { 0, "sigreturn" },
+  { 0, }, /* 103 is old sigreturn */
   /* 104 */ { 0, "bind" },
   /* 105 */ { 0, "setsockopt" },
   /* 106 */ { 0, "listen" },
@@ -1143,23 +1143,23 @@
   { 0, }, /* 108 is old sigvec */
   { 0, }, /* 109 is old sigblock */
   { 0, }, /* 110 is old sigsetmask */
-  /* 111 */ { 0, "sigsuspend" },
+  { 0, }, /* 111 is old sigsuspend */
   { 0, }, /* 112 is old sigstack */
   { 0, }, /* 113 is old recvmsg */
   { 0, }, /* 114 is old sendmsg */
   /* - is obsolete vtrace */ { 0, "vtrace      115" },
-  /* 116 */ { do_gettimeofday, "gettimeofday" },
-  /* 117 */ { do_getrusage, "getrusage" },
+  { 0, }, /* 116 is old gettimeofday */
+  { 0, }, /* 117 is old getrusage */
   /* 118 */ { 0, "getsockopt" },
-  /* 119 */ { 0, "resuba" },
+  /* - is obsolete resuba */ { 0, "resuba      119" },
   /* 120 */ { 0, "readv" },
   /* 121 */ { 0, "writev" },
-  /* 122 */ { 0, "settimeofday" },
+  { 0, }, /* 122 is old settimeofday */
   /* 123 */ { 0, "fchown" },
   /* 124 */ { 0, "fchmod" },
   { 0, }, /* 125 is old recvfrom */
-  { 0, }, /* 126 is old setreuid */
-  { 0, }, /* 127 is old setregid */
+  /* 126 */ { 0, "setreuid" },
+  /* 127 */ { 0, "setregid" },
   /* 128 */ { 0, "rename" },
   { 0, }, /* 129 is old truncate */
   { 0, }, /* 130 is old ftruncate */
@@ -1170,9 +1170,9 @@
   /* 135 */ { 0, "socketpair" },
   /* 136 */ { 0, "mkdir" },
   /* 137 */ { 0, "rmdir" },
-  /* 138 */ { 0, "utimes" },
+  { 0, }, /* 138 is old utimes */
   { 0, }, /* 139 is obsolete 4.2 sigreturn */
-  /* 140 */ { 0, "adjtime" },
+  { 0, }, /* 140 is old adjtime */
   { 0, }, /* 141 is old getpeername */
   { 0, }, /* 142 is old gethostid */
   { 0, }, /* 143 is old sethostid */
@@ -1189,11 +1189,11 @@
   { 0, }, /* 154 */
   /* 155 */ { 0, "nfssvc" },
   { 0, }, /* 156 is old getdirentries */
-  /* 157 */ { 0, "statfs" },
-  /* 158 */ { do_fstatfs, "fstatfs" },
+  { 0, }, /* 157 is old statfs */
+  { 0, }, /* 158 is old fstatfs */
   { 0, }, /* 159 */
   { 0, }, /* 160 */
-  /* 161 */ { 0, "getfh" },
+  { 0, }, /* 161 is old getfh */
   { 0, }, /* 162 is old getdomainname */
   { 0, }, /* 163 is old setdomainname */
   { 0, }, /* 164 is old uname */
@@ -1201,14 +1201,14 @@
   { 0, }, /* 166 */
   { 0, }, /* 167 */
   { 0, }, /* 168 */
-  /* 169 */ { 0, "semsys" },
-  /* 170 */ { 0, "msgsys" },
-  /* 171 */ { 0, "shmsys" },
+  { 0, }, /* 169 is old semsys */
+  { 0, }, /* 170 is old msgsys */
+  { 0, }, /* 171 is old shmsys */
   { 0, }, /* 172 */
-  { 0, }, /* 173 */
-  { 0, }, /* 174 */
-  { 0, }, /* 175 */
-  { 0, }, /* 176 */
+  /* 173 */ { 0, "pread" },
+  /* 174 */ { 0, "pwrite" },
+  { 0, }, /* 175 is old ntp_gettime */
+  /* 176 */ { 0, "ntp_adjtime" },
   { 0, }, /* 177 */
   { 0, }, /* 178 */
   { 0, }, /* 179 */
@@ -1220,15 +1220,15 @@
   /* 185 */ { 0, "lfs_markv" },
   /* 186 */ { 0, "lfs_segclean" },
   /* 187 */ { 0, "lfs_segwait" },
-  /* 188 */ { do_stat, "stat" },
-  /* 189 */ { do_fstat, "fstat" },
-  /* 190 */ { do_lstat, "lstat" },
+  { 0, }, /* 188 is old stat" */
+  { 0, }, /* 189 is old fstat */
+  { 0, }, /* 190 is old lstat */
   /* 191 */ { 0, "pathconf" },
   /* 192 */ { 0, "fpathconf" },
   { 0, }, /* 193 */
   /* 194 */ { 0, "getrlimit" },
   /* 195 */ { 0, "setrlimit" },
-  /* 196 */ { do_getdirentries, "getdirentries" },
+  { 0, }, /* 196 is old getdirentries */
   /* 197 */ { 0, "mmap" },
   /* 198 */ { do___syscall, "__syscall" },
   /* 199 */ { do_lseek, "lseek" },
@@ -1237,6 +1237,253 @@
   /* 202 */ { do___sysctl, "__sysctl" },
   /* 203 */ { 0, "mlock" },
   /* 204 */ { 0, "munlock" },
+  /* 205 */ { 0, "undelete" },
+  { 0, }, /* 206 is old futimes */
+  /* 207 */ { 0, "getpgid" },
+  /* 208 */ { 0, "reboot" },
+  /* 209 */ { 0, "poll" },
+  { 0, }, /* 210 */
+  { 0, }, /* 211 */
+  { 0, }, /* 212 */
+  { 0, }, /* 213 */
+  { 0, }, /* 214 */
+  { 0, }, /* 215 */
+  { 0, }, /* 216 */
+  { 0, }, /* 217 */
+  { 0, }, /* 218 */
+  { 0, }, /* 219 */
+  { 0, }, /* 220 is old semctl */
+  /* 221 */ { 0, "semget" },
+  /* 222 */ { 0, "semop" },
+  /* 223 */ { 0, "semconfig" },
+  { 0, }, /* 224 is old msgctl */
+  /* 225 */ { 0, "msgget" },
+  /* 226 */ { 0, "msgsnd" },
+  /* 227 */ { 0, "msgrcv" },
+  /* 228 */ { 0, "shmat" },
+  { 0, }, /* 229 is old shmctl */
+  /* 230 */ { 0, "shmdt" },
+  /* 231 */ { 0, "shmget" },
+  { 0, }, /* 232 is old clock_gettime */
+  { 0, }, /* 233 is old clock_settime */
+  { 0, }, /* 234 is old clock_getres */
+  /* 235 */ { 0, "timer_create" },
+  /* 236 */ { 0, "timer_delete" },
+  { 0, }, /* 237 is old timer_settime */
+  { 0, }, /* 238 is old timer_gettime */
+  /* 239 */ { 0, "timer_getoverrun" },
+  { 0, }, /* 240 is old nanosleep */
+  /* 241 */ { 0, "fdatasync" },
+  /* 242 */ { 0, "mlockall" },
+  /* 243 */ { 0, "munlockall" },
+  { 0, }, /* 244 is old sigtimedwait */
+  { 0, }, /* 245 */
+  /* 246 */ { 0, "modctl" },
+  /* 247 */ { 0, "_ksem_init" },
+  /* 248 */ { 0, "_ksem_open" },
+  /* 249 */ { 0, "_ksem_unlink" },
+  /* 250 */ { 0, "_ksem_close" },
+  /* 251 */ { 0, "_ksem_post" },
+  /* 252 */ { 0, "_ksem_wait" },
+  /* 253 */ { 0, "_ksem_trywait" },
+  /* 254 */ { 0, "_ksem_getvalue" },
+  /* 255 */ { 0, "_ksem_destroy" },
+  { 0, }, /* 256 */
+  /* 257 */ { 0, "mq_open" },
+  /* 258 */ { 0, "mq_close" },
+  /* 259 */ { 0, "mq_unlink" },
+  /* 260 */ { 0, "mq_getattr" },
+  /* 261 */ { 0, "mq_setattr" },
+  /* 262 */ { 0, "mq_notify" },
+  /* 263 */ { 0, "mq_send" },
+  /* 264 */ { 0, "mq_receive" },
+  { 0, }, /* 265 is old mq_timedsend */
+  { 0, }, /* 266 is old mq_timedrecive */
+  { 0, }, /* 267 */
+  { 0, }, /* 268 */
+  { 0, }, /* 269 */
+  /* 270 */ { 0, "__posix_rename" },
+  /* 271 */ { 0, "swapctl" },
+  { 0, }, /* 272 is old getdents */
+  /* 273 */ { 0, "minherit" },
+  /* 274 */ { 0, "lchmod" },
+  /* 275 */ { 0, "lchown" },
+  { 0, }, /* 276 is old lutimes */
+  /* 277 */ { 0, "__msync13" },
+  { 0, }, /* 278 is old stat */
+  { 0, }, /* 279 is old fstat */
+  { 0, }, /* 280 is old lstat */
+  /* 281 */ { 0, "__sigaltstack13" },
+  /* 282 */ { 0, "__vfork14" },
+  /* 283 */ { 0, "__posix_chown" },
+  /* 284 */ { 0, "__posix_fchown" },
+  /* 285 */ { 0, "__posix_lchown" },
+  /* 286 */ { 0, "getsid" },
+  /* 287 */ { 0, "__clone" },
+  /* 288 */ { 0, "fktrace" },
+  /* 289 */ { 0, "preadv" },
+  /* 290 */ { 0, "pwritev" },
+  { 0, }, /* 291 is old sigaction */
+  /* 292 */ { 0, "__sigpending14" },
+  /* 293 */ { do_sigprocmask, "__sigprocmask14" },
+  /* 294 */ { 0, "__sigsuspend14" },
+  /* 295 */ { 0, "__sigreturn14" },
+  /* 296 */ { 0, "__getcwd" },
+  /* 297 */ { 0, "fchroot" },
+  { 0, }, /* 298 is old fhopen */
+  { 0, }, /* 299 is old fhstat */
+  { 0, }, /* 300 is old fhstatfs */
+  { 0, }, /* 301 is old semctl */
+  { 0, }, /* 302 is old msgctl */
+  { 0, }, /* 303 is old shmctl */
+  /* 304 */ { 0, "lchflags" },
+  /* 305 */ { 0, "issetugid" },



Home | Main Index | Thread Index | Old Index