mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
Add PC to debugger exception hit message
This commit is contained in:
parent
e26e752581
commit
66bc895610
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user