Date: Mon, 30 Jun 2008 06:49:04 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 144344 for review Message-ID: <200806300649.m5U6n4lX000220@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=144344 Change 144344 by jb@freebsd3 on 2008/06/30 06:48:26 Add a hack to work around the fact that Linux emulation hides pointer references in typedefs, making it hard to work out a suitable cast. Affected files ... .. //depot/projects/dtrace/src/sys/kern/makesyscalls.sh#14 edit Differences ... ==== //depot/projects/dtrace/src/sys/kern/makesyscalls.sh#14 (text+ko) ==== @@ -328,7 +328,7 @@ printf("\t\tstruct %s *p = params;\n", argalias) > systrace for (i = 1; i <= argc; i++) { printf("\t\tcase %d:\n\t\t\tp = \"%s\";\n\t\t\tbreak;\n", i - 1, argtype[i]) > systracetmp - if (index(argtype[i], "*") > 0 || argtype[i] == "caddr_t") + if (index(argtype[i], "*") > 0 || argtype[i] == "caddr_t" || argtype[i] == "l_handler_t") printf("\t\tuarg[%d] = (intptr_t) p->%s; /* %s */\n", \ i - 1, \ argname[i], argtype[i]) > systrace
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806300649.m5U6n4lX000220>