OSDN Git Service

Fix interpreter debug attach
authorbuzbee <buzbee@google.com>
Tue, 29 Mar 2011 17:26:07 +0000 (10:26 -0700)
committerbuzbee <buzbee@google.com>
Wed, 30 Mar 2011 21:30:15 +0000 (14:30 -0700)
commit99e3e6e72e3471eb85fc2e405866392b01c080fe
treeca2d6ae81de4eb020c37af29d861cbb54ca2fd35
parent4b17a1da633822d7651fe854aece7ea93c1edf70
Fix interpreter debug attach

Fix a few miscellaneous bugs from the interpreter restructuring that were
causing a segfault on debugger attach.

Added a sanity checking routine for debugging.

Fixed a problem in which the JIT's threshold and on/off switch
wouldn't get initialized properly on thread creation.

Renamed dvmCompilerStateRefresh() to dvmCompilerUpdateGlobalState() to
better reflect its function.

Change-Id: I5b8af1ce2175e3c6f53cda19dd8e052a5f355587
41 files changed:
vm/Debugger.c
vm/Profile.c
vm/SignalCatcher.c
vm/Thread.c
vm/compiler/Compiler.c
vm/compiler/Compiler.h
vm/compiler/codegen/arm/armv5te-vfp/ArchVariant.c
vm/compiler/codegen/arm/armv5te/ArchVariant.c
vm/compiler/codegen/arm/armv7-a-neon/ArchVariant.c
vm/compiler/codegen/arm/armv7-a/ArchVariant.c
vm/compiler/codegen/x86/ia32/ArchVariant.c
vm/compiler/template/armv5te/TEMPLATE_MONITOR_ENTER_DEBUG.S
vm/compiler/template/out/CompilerTemplateAsm-armv5te-vfp.S
vm/compiler/template/out/CompilerTemplateAsm-armv5te.S
vm/compiler/template/out/CompilerTemplateAsm-armv7-a-neon.S
vm/compiler/template/out/CompilerTemplateAsm-armv7-a.S
vm/interp/Interp.c
vm/interp/Interp.h
vm/interp/Jit.c
vm/interp/Jit.h
vm/mterp/armv5te/OP_EXECUTE_INLINE.S
vm/mterp/armv5te/OP_EXECUTE_INLINE_RANGE.S
vm/mterp/armv5te/footer.S
vm/mterp/c/OP_BREAKPOINT.c
vm/mterp/c/gotoTargets.c
vm/mterp/cstubs/stubdefs.c
vm/mterp/out/InterpAsm-armv5te-vfp.S
vm/mterp/out/InterpAsm-armv5te.S
vm/mterp/out/InterpAsm-armv7-a-neon.S
vm/mterp/out/InterpAsm-armv7-a.S
vm/mterp/out/InterpAsm-x86.S
vm/mterp/out/InterpC-allstubs.c
vm/mterp/out/InterpC-armv5te-vfp.c
vm/mterp/out/InterpC-armv5te.c
vm/mterp/out/InterpC-armv7-a-neon.c
vm/mterp/out/InterpC-armv7-a.c
vm/mterp/out/InterpC-portable.c
vm/mterp/out/InterpC-x86-atom.c
vm/mterp/out/InterpC-x86.c
vm/mterp/portable/stubdefs.c
vm/mterp/x86/footer.S