diff options
author | davek <davek@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-22 22:58:37 +0000 |
---|---|---|
committer | davek <davek@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-22 22:58:37 +0000 |
commit | 21bfe770152d039032667db92890e01158ec17b8 (patch) | |
tree | f2636bc47ce0379f34e89044767611304266b710 /libjava | |
parent | eac26e819860c68e5d5066821d257500a9f6bcc9 (diff) | |
download | gcc-21bfe770152d039032667db92890e01158ec17b8.tar.gz |
* gnu/classpath/jdwp/natVMVirtualMachine.cc (handle_single_step): Use
casted pointer in debugging assert.
(jdwpBreakpointCB): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146627 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/ChangeLog | 6 | ||||
-rw-r--r-- | libjava/gnu/classpath/jdwp/natVMVirtualMachine.cc | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 4c40b935858..21abeb19a2f 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,9 @@ +2009-04-23 Dave Korn <dave.korn.cygwin@gmail.com> + + * gnu/classpath/jdwp/natVMVirtualMachine.cc (handle_single_step): Use + casted pointer in debugging assert. + (jdwpBreakpointCB): Likewise. + 2009-04-09 Jack Howarth <howarth@bromo.med.uc.edu> * configure.host: Restore match for darwin9 or later. diff --git a/libjava/gnu/classpath/jdwp/natVMVirtualMachine.cc b/libjava/gnu/classpath/jdwp/natVMVirtualMachine.cc index ba123539e17..7bd300b79c8 100644 --- a/libjava/gnu/classpath/jdwp/natVMVirtualMachine.cc +++ b/libjava/gnu/classpath/jdwp/natVMVirtualMachine.cc @@ -900,9 +900,9 @@ handle_single_step (jvmtiEnv *env, struct step_info *sinfo, jthread thread, VMMethod *vmmethod = new VMMethod (klass, reinterpret_cast<jlong> (method)); Location *loc = new Location (vmmethod, location); - JvAssert (thread->frame.frame_type == frame_interpreter); _Jv_InterpFrame *iframe = reinterpret_cast<_Jv_InterpFrame *> (thread->interp_frame); + JvAssert (iframe->frame_type == frame_interpreter); jobject instance = iframe->get_this_ptr (); event::SingleStepEvent *event = new event::SingleStepEvent (thread, loc, instance); @@ -957,9 +957,9 @@ jdwpBreakpointCB (jvmtiEnv *env, MAYBE_UNUSED JNIEnv *jni_env, jlong methodId = reinterpret_cast<jlong> (method); VMMethod *meth = VMVirtualMachine::getClassMethod (klass, methodId); Location *loc = new Location (meth, location); - JvAssert (thread->frame.frame_type == frame_interpreter); _Jv_InterpFrame *iframe = reinterpret_cast<_Jv_InterpFrame *> (thread->interp_frame); + JvAssert (iframe->frame_type == frame_interpreter); jobject instance = iframe->get_this_ptr (); BreakpointEvent *event = new BreakpointEvent (thread, loc, instance); |