summaryrefslogtreecommitdiff
path: root/src/vm/arm/cgencpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vm/arm/cgencpu.h')
-rw-r--r--src/vm/arm/cgencpu.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vm/arm/cgencpu.h b/src/vm/arm/cgencpu.h
index 181d5f10eb..2a369d8f02 100644
--- a/src/vm/arm/cgencpu.h
+++ b/src/vm/arm/cgencpu.h
@@ -566,7 +566,11 @@ public:
// a reasonable breakpoint substitute (it's what DebugBreak uses). Bkpt #0, on the other hand, always
// seems to flow directly to the kernel debugger (even if we ignore it there it doesn't seem to be
// picked up by the user mode debugger).
+#ifdef __linux__
+ Emit16(0xde01);
+#else
Emit16(0xdefe);
+#endif
}
void ThumbEmitMovConstant(ThumbReg dest, int constant)
@@ -988,6 +992,7 @@ struct DECLSPEC_ALIGN(4) UMEntryThunkCode
TADDR m_pvSecretParam;
void Encode(BYTE* pTargetCode, void* pvSecretParam);
+ void Poison();
LPCBYTE GetEntryPoint() const
{