Added --break_condition_gpr, --break_condition_value, --break_condition_truncate for use with --break_on_instruction.

This commit is contained in:
gibbed
2015-06-07 17:50:43 -05:00
parent 889f29c18a
commit 4a796627f2
3 changed files with 20 additions and 1 deletions

View File

@@ -45,4 +45,8 @@ DEFINE_bool(validate_hir, false,
// Breakpoints:
DEFINE_uint64(break_on_instruction, 0,
"int3 before the given guest address is executed.");
DEFINE_int32(break_condition_gpr, -1, "GPR compared to");
DEFINE_uint64(break_condition_value, 0, "value compared against");
DEFINE_bool(break_condition_truncate, true, "truncate value to 32-bits");
DEFINE_bool(break_on_debugbreak, true, "int3 on JITed __debugbreak requests.");