summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/debugcpu.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2023-03-09 23:53:47 -0500
committer AJR <ajrhacker@users.noreply.github.com>2023-03-09 23:53:47 -0500
commitbaa31b5e45ea7981170e30aef9975aeede2119c7 (patch)
tree2fee508446e246b528320470bb5544d8587ddfbb /src/emu/debug/debugcpu.cpp
parent86f3286b82c715abcd745bb4ef9460084cbddc94 (diff)
Fix debugger exception point hit message
Diffstat (limited to 'src/emu/debug/debugcpu.cpp')
-rw-r--r--src/emu/debug/debugcpu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/debug/debugcpu.cpp b/src/emu/debug/debugcpu.cpp
index 23619560ac0..eeddc7864ca 100644
--- a/src/emu/debug/debugcpu.cpp
+++ b/src/emu/debug/debugcpu.cpp
@@ -675,7 +675,7 @@ void device_debug::exception_hook(int exception)
if (matched)
{
m_device.machine().debugger().cpu().set_execution_stopped();
- m_device.machine().debugger().console().printf("Stopped on exception (CPU '%s', exception %X, PC=%X)\n", m_device.tag(), exception, m_state->pcbase());
+ m_device.machine().debugger().console().printf("Stopped on exception (CPU '%s', exception %X, PC=%s)\n", m_device.tag(), exception, m_state->state_string(STATE_GENPCBASE));
compute_debug_flags();
}
}
@@ -701,7 +701,7 @@ void device_debug::exception_hook(int exception)
if (debugcpu.is_stopped())
{
debugcpu.set_execution_stopped();
- m_device.machine().debugger().console().printf("Stopped at exception point %X (CPU '%s', PC=%X)\n", ep.m_index, m_device.tag(), exception, m_state->pcbase());
+ m_device.machine().debugger().console().printf("Stopped at exception point %X (CPU '%s', PC=%s)\n", ep.m_index, m_device.tag(), m_state->state_string(STATE_GENPCBASE));
compute_debug_flags();
}
break;