summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/debugcpu.h
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2020-05-03 20:19:18 -0400
committer AJR <ajrhacker@users.noreply.github.com>2020-05-03 20:19:32 -0400
commitc4ee747357bf29df1970e5b4f1929128091fe134 (patch)
tree26543fb768b7ec4c07542c3cd7df6248bc63ab63 /src/emu/debug/debugcpu.h
parentaa2e069e20a6adac23d44964c059ffd12e71caa2 (diff)
Add optional condition parameter to debugger gex command
Diffstat (limited to 'src/emu/debug/debugcpu.h')
-rw-r--r--src/emu/debug/debugcpu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/emu/debug/debugcpu.h b/src/emu/debug/debugcpu.h
index 8c8a5cc1cbb..36b718c6a16 100644
--- a/src/emu/debug/debugcpu.h
+++ b/src/emu/debug/debugcpu.h
@@ -201,7 +201,7 @@ public:
void go(offs_t targetpc = ~0);
void go_vblank();
void go_interrupt(int irqline = -1);
- void go_exception(int exception);
+ void go_exception(int exception, const char *condition);
void go_milliseconds(u64 milliseconds);
void go_privilege(const char *condition);
void go_next_device();
@@ -320,6 +320,7 @@ private:
int m_stopirq; // stop IRQ number for DEBUG_FLAG_STOP_INTERRUPT
int m_stopexception; // stop exception number for DEBUG_FLAG_STOP_EXCEPTION
std::unique_ptr<parsed_expression> m_privilege_condition; // expression to evaluate on privilege change
+ std::unique_ptr<parsed_expression> m_exception_condition; // expression to evaluate on exception hit
attotime m_endexectime; // ending time of the current execution
u64 m_total_cycles; // current total cycles
u64 m_last_total_cycles; // last total cycles