harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gshiman...@apache.org
Subject svn commit: r490584 - /harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_break_intf.cpp
Date Wed, 27 Dec 2006 22:46:07 GMT
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);



Mime
View raw message