Index: runtime/vm/debugger_ia32.cc |
=================================================================== |
--- runtime/vm/debugger_ia32.cc (revision 21886) |
+++ runtime/vm/debugger_ia32.cc (working copy) |
@@ -46,7 +46,7 @@ |
uword stub_addr = StubCode::BreakpointReturnEntryPoint(); |
code[0] = 0xE8; |
*reinterpret_cast<uword*>(&code[1]) = stub_addr - pc_; |
- CPU::FlushICache(pc_, 5); |
+ CPU::FlushICache(pc_ - 5, 5); |
} |
@@ -58,7 +58,7 @@ |
code[2] = 0x5D; // pop ebp |
code[3] = 0xC3; // ret |
code[4] = 0x90; // nop |
- CPU::FlushICache(pc_, 5); |
+ CPU::FlushICache(pc_ - 5, 5); |
} |