Trap sometimes called.

This commit is contained in:
Ben Vanik 2014-05-27 19:35:52 -07:00
parent ca22010502
commit 2ef6545927
1 changed files with 2 additions and 1 deletions

View File

@ -218,7 +218,8 @@ void X64Emitter::DebugBreak() {
}
void X64Emitter::Trap() {
// TODO(benvanik): notify debugger.
// 0x0FE00014 is a 'debug print' where r3 = buffer r4 = length
// TODO(benvanik): post software interrupt to debugger.
db(0xCC);
}