You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by gs...@apache.org on 2006/12/27 23:46:07 UTC
svn commit: r490584 -
/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_break_intf.cpp
Author: gshimansky
Date: Wed Dec 27 14:46:06 2006
New Revision: 490584
URL: http://svn.apache.org/viewvc?view=rev&rev=490584
Log:
Applied HARMONY-2904 [drlvm][jvmti] Assertion when trying to set two pending breakpoints
Tests passed on Ubuntu6 x86, Windows XP x86 and SuSE9 x86_64
Modified:
harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_break_intf.cpp
Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_break_intf.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_break_intf.cpp?view=diff&rev=490584&r1=490583&r2=490584
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_break_intf.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_break_intf.cpp Wed Dec 27 14:46:06 2006
@@ -1043,7 +1043,7 @@
// given native address is differ with obtained breapoint.
// The last case cound be if the same method location points
// to different native address.
- if ( !brpt || !brpt->addr || brpt->addr != addr )
+ if ( !brpt || brpt->addr != addr )
{
brpt = (VMBreakPoint*)STD_MALLOC(sizeof(VMBreakPoint));
assert(brpt);