Add PC to debugger exception hit message

This commit is contained in:
AJR 2020-05-03 16:48:03 -04:00
parent e26e752581
commit 66bc895610

View File

@ -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();
}
}