PERFORCE change 135998 for review

John Birrell jb at FreeBSD.org
Sat Feb 23 00:15:57 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=135998

Change 135998 by jb at jb_freebsd1 on 2008/02/23 00:15:15

	For the time being, specify the string for the type description and
	the type size as parameters that must be coded. The hack is to munge
	them to mean what they would if they could be added as part of the
	parser code, but the parser code doesn't know how to add a couple
	of extra args on a function-specific basis. This is a design limitation
	that is difficult to code around (and one that I assume has prevented
	Sun's developers from coding this functionality).

Affected files ...

.. //depot/projects/dtrace/src/contrib/opensolaris/lib/libdtrace/common/dt_open.c#26 edit

Differences ...

==== //depot/projects/dtrace/src/contrib/opensolaris/lib/libdtrace/common/dt_open.c#26 (text) ====

@@ -399,7 +399,7 @@
 { "trunc", DT_IDENT_ACTFUNC, 0, DT_ACT_TRUNC, DT_ATTR_STABCMN,
 	DT_VERS_1_0, &dt_idops_func, "void(...)" },
 { "typeref", DT_IDENT_FUNC, 0, DIF_SUBR_TYPEREF, DT_ATTR_STABCMN, DT_VERS_1_1,
-	&dt_idops_func, "uintptr_t *(void *, size_t)" },
+	&dt_idops_func, "uintptr_t *(void *, size_t, string, size_t)" },
 { "uaddr", DT_IDENT_ACTFUNC, 0, DT_ACT_UADDR, DT_ATTR_STABCMN,
 	DT_VERS_1_2, &dt_idops_func, "_usymaddr(uintptr_t)" },
 { "ucaller", DT_IDENT_SCALAR, 0, DIF_VAR_UCALLER, DT_ATTR_STABCMN,


More information about the p4-projects mailing list