harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From var...@apache.org
Subject svn commit: r488646 - /harmony/enhanced/drlvm/trunk/vm/vmcore/src/stack/stack_trace.cpp
Date Tue, 19 Dec 2006 11:55:47 GMT
Author: varlax
Date: Tue Dec 19 03:55:46 2006
New Revision: 488646

URL: http://svn.apache.org/viewvc?view=rev&rev=488646
Log:
Applied HARMONY-2667 [drlvm]stack_trace.cpp:get_file_and_line(...) uses incorrect IP for hardware
exceptions.
Tested on SUSE9.

Modified:
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/stack/stack_trace.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/stack/stack_trace.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/stack/stack_trace.cpp?view=diff&rev=488646&r1=488645&r2=488646
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/stack/stack_trace.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/stack/stack_trace.cpp Tue Dec 19 03:55:46 2006
@@ -55,7 +55,7 @@
 
 #if !defined(_IPF_) // appropriate callLength should be put here when IPF bc maping will
be implemented
     uint16 bcOffset;
-    POINTER_SIZE_INT callLength = 5;
+    POINTER_SIZE_INT callLength = is_ip_past ? 0 : 5;
 
     Global_Env * vm_env = VM_Global_State::loader_env;
     CodeChunkInfo* jit_info = vm_env->vm_methods->find((unsigned char*)ip - callLength);



Mime
View raw message