a small contribution (for valgrind) to get current wine running
Adam, I think it would be better if you get all those changes together for inclusion in vg, if you don't mind


A+

--
Eric Pouech
Index: vg_syscalls.c
===================================================================
RCS file: /cvsroot/valgrind/valgrind/coregrind/vg_syscalls.c,v
retrieving revision 1.25
diff -u -r1.25 vg_syscalls.c
--- vg_syscalls.c       24 Feb 2003 21:55:34 -0000      1.25
+++ vg_syscalls.c       2 Apr 2003 19:39:40 -0000
@@ -647,6 +661,14 @@
          break;
 #     endif
 
+#     if defined(__NR_gettid)
+      case __NR_gettid: /* syscall 224 */
+         /* pid_t gettid(void); */
+         MAYBE_PRINTF("gettid ()\n");
+         KERNEL_DO_SYSCALL(tid,res);
+         break;
+#     endif
+
 #     if defined(__NR_setxattr)
       case __NR_setxattr: /* syscall 226 */
          /* int setxattr (const char *path, const char *name,

Reply via email to