This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] events output fixed.


Hello,

the attached patch fixes the events output fail on darwin ppc and ppc linux. I guess it happens elsewhere too. (note, (my) the linux-ppc tc still fails.)

ok for trunk ?

Thanks,
Andreas

2007-01-30 Andreas Tobler <a.tobler@schweiz.org>

	* testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
	cast to print it right.

Index: natevents.cc
===================================================================
--- natevents.cc        (revision 121359)
+++ natevents.cc        (working copy)
@@ -200,7 +200,7 @@
   printf (" field_klass=%#llx object=%#llx field=%#llx signature_type=%c",
          (unsigned long long) field_klass, (unsigned long long) object,
          (unsigned long long) field, signature_type);
-  printf (" new_value=%#llx\n", new_value.l);
+  printf (" new_value=%#llx\n", (unsigned long long) new_value.l);
 }

static void


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]