OSDN Git Service

Fix for double breakpoint (issue 4378296)
authorbuzbee <buzbee@google.com>
Tue, 3 May 2011 19:55:14 +0000 (12:55 -0700)
committerbuzbee <buzbee@google.com>
Tue, 3 May 2011 20:22:40 +0000 (13:22 -0700)
commit00ceb87d1c57ccee59966be4deef1292a049285c
treed9f3b0dc47d71e0742874e4ec420a73b2042e450
parent7b609f056c6ac8727c4c91f3f6a4c03bd3c3ecd9
Fix for double breakpoint (issue 4378296)

Breakpoints are given special handling in the interpreter.  They
are first interpreted as a breakpoint (with notification to the
debugger), and then the actual instruction associated with the
breakpoint location is interpreted.

The bug here was that the "dvmCheckBefore()" handler was invoked
prior to both "interpretations" - rather than just the first.
Note that this defect appears only in the Arm mterp, the portable
interpreter and x86 mterp did the right thing.

Change-Id: Ied957edc0c248b5d4d94910beb7af6c03ffe885d
vm/mterp/armv5te/OP_BREAKPOINT.S
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