/hg/icedtea6: Fix building with --enable-systemtap and GCC 4.5.
mjw at redhat.com
Wed Apr 28 07:09:58 PDT 2010
On Wed, 2010-04-28 at 15:02 +0100, Andrew John Hughes wrote:
> Does this fix for PR476
> (http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=476) look ok to
> backport to the release branches?
Yes, thanks. This is the correct thing to do in this case. dtrace
defines it as probe NewDirectByteBuffer-entry(void*, void*, uintptr_t);
so the cast is correct. The difference between SystemTap and dtrace are
a little subtle here. SystemTap will try to use the actual type directly
from the C/C++ definition, while dtrace will convert everything to
unsigned longs (and then encode the correct type in the .d file).
More information about the distro-pkg-dev