diff options
| author | 2018-04-02 17:23:38 +0100 | |
|---|---|---|
| committer | 2018-04-02 12:23:38 -0400 | |
| commit | 06a09d38216c4a64f1dd33a3137ed8ef4df92fdc (patch) | |
| tree | 178381f45cd6887728f8a0b35eefe912a8044067 /src/emu/debug/debugcpu.h | |
| parent | 729c0ca3edb36a29238f30f90f9165a02bd37e01 (diff) | |
Added suspend and resume debugger commands (#3411)
Diffstat (limited to 'src/emu/debug/debugcpu.h')
| -rw-r--r-- | src/emu/debug/debugcpu.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/emu/debug/debugcpu.h b/src/emu/debug/debugcpu.h index 43384566da8..6d54456b913 100644 --- a/src/emu/debug/debugcpu.h +++ b/src/emu/debug/debugcpu.h @@ -189,6 +189,10 @@ public: void ignore(bool ignore = true); bool observing() const { return ((m_flags & DEBUG_FLAG_OBSERVING) != 0); } + // debugger suspend/unsuspend + void suspend(bool suspend = true); + bool suspended() const { return ((m_flags & DEBUG_FLAG_SUSPENDED) != 0); } + // single stepping void single_step(int numsteps = 1); void single_step_over(int numsteps = 1); @@ -447,6 +451,7 @@ private: static constexpr u32 DEBUG_FLAG_STOP_EXCEPTION = 0x00000800; // there is a pending stop on the next exception static constexpr u32 DEBUG_FLAG_STOP_VBLANK = 0x00001000; // there is a pending stop on the next VBLANK static constexpr u32 DEBUG_FLAG_STOP_TIME = 0x00002000; // there is a pending stop at cpu->stoptime + static constexpr u32 DEBUG_FLAG_SUSPENDED = 0x00004000; // CPU currently suspended static constexpr u32 DEBUG_FLAG_LIVE_BP = 0x00010000; // there are live breakpoints for this CPU static constexpr u32 DEBUG_FLAG_STEPPING_ANY = DEBUG_FLAG_STEPPING | DEBUG_FLAG_STEPPING_OVER | DEBUG_FLAG_STEPPING_OUT; |
