natevents.cc (FieldModificationCB): Use %#llx instead of %d for new_value.

* testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
        %#llx instead of %d for new_value.
        * testsuite/libjava.jvmti/events.out: Update expected output.
        * testsuite/libjava.jvmti/events.jar: Regenerate.

From-SVN: r120834
This commit is contained in:
Keith Seitz 2007-01-16 19:58:18 +00:00 committed by Keith Seitz
parent f031b5d726
commit 2797f081d4
4 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2007-01-16 Keith Seitz <keiths@redhat.com>
* testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
%#llx instead of %d for new_value.
* testsuite/libjava.jvmti/events.out: Update expected output.
* testsuite/libjava.jvmti/events.jar: Regenerate.
2007-01-16 Keith Seitz <keiths@redhat.com>
* gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):

View File

@ -41,7 +41,7 @@ SingleStepCB jni_env=0x1 thread=0x2 method=0x3 location=0x4
FramePopCB jni_env=0x1 thread=0x2 method=0x3 was_pooped_by_exception=1
BreakpointCB jni_env=0x1 thread=0x2 method=0x3 location=0x4
FieldAccessCB jni_env=0x1 thread=0x2 method=0x3 location=0x4 field_klass=0x5 object=0x6 field=0x7
FieldModificationCB jni_env=0x1 thread=0x2 method=0x3 location=0x4 field_klass=0x5 object=0x6 field=0x7 signature_type=8 new_value=9
FieldModificationCB jni_env=0x1 thread=0x2 method=0x3 location=0x4 field_klass=0x5 object=0x6 field=0x7 signature_type=8 new_value=0x9
MethodEntryCB jni_env=0x1 thread=0x2 method=0x3
MethodExitCB jni_env=0x1 thread=0x2 method=0x3 was_popped_by_exception=1 return_value=5
NativeMethodBindCB jni_env=0x1 thread=0x2 method=0x3 address=0x4 new_address_ptr=0x5

View File

@ -200,7 +200,7 @@ FieldModificationCB (jvmtiEnv *env, JNIEnv *jni_env, jthread thread,
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=%d\n", (int) new_value.i);
printf (" new_value=%#llx\n", new_value.l);
}
static void