summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/debugcpu.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2020-05-03 16:48:03 -0400
committer AJR <ajrhacker@users.noreply.github.com>2020-05-03 16:48:03 -0400
commit66bc895610c42e0a72f1b015cc5732b183ffd321 (patch)
treef3d589c7e705e6bd01c04b5b5ef0055187141fa6 /src/emu/debug/debugcpu.cpp
parente26e75258173921825b97e92ab2e50c87d3b8e18 (diff)
Add PC to debugger exception hit message
Diffstat (limited to 'src/emu/debug/debugcpu.cpp')
-rw-r--r--src/emu/debug/debugcpu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/debug/debugcpu.cpp b/src/emu/debug/debugcpu.cpp
index 009d5ba1bde..79fb43c9d65 100644
--- a/src/emu/debug/debugcpu.cpp
+++ b/src/emu/debug/debugcpu.cpp
@@ -1500,7 +1500,7 @@ void device_debug::exception_hook(int exception)
if ((m_flags & DEBUG_FLAG_STOP_EXCEPTION) != 0 && (m_stopexception == -1 || m_stopexception == exception))
{
m_device.machine().debugger().cpu().set_execution_stopped();
- m_device.machine().debugger().console().printf("Stopped on exception (CPU '%s', exception %d)\n", m_device.tag(), exception);
+ m_device.machine().debugger().console().printf("Stopped on exception (CPU '%s', exception %d, PC=%X)\n", m_device.tag(), exception, m_state->pcbase());
compute_debug_flags();
}
}