diff options
Diffstat (limited to 'engines/sci/debug.h')
-rw-r--r-- | engines/sci/debug.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/sci/debug.h b/engines/sci/debug.h index 4fcb757c10..60fad26671 100644 --- a/engines/sci/debug.h +++ b/engines/sci/debug.h @@ -42,12 +42,16 @@ enum BreakpointType { * Break when an exported function is called. Data contains * script_no << 16 | export_no. */ - BREAK_EXPORT = 1 << 3 + BREAK_EXPORT = 1 << 3, + BREAK_ADDRESS = 1 << 4 // break when pc is at this address }; struct Breakpoint { BreakpointType type; - uint32 address; ///< Breakpoints on exports + union { + uint32 address; ///< Breakpoints on exports + reg32_t regAddress; ///< Breakpoints on addresses + }; Common::String name; ///< Breakpoints on selector names }; |