mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
Fix debugger exception point hit message
This commit is contained in:
parent
86f3286b82
commit
baa31b5e45
1 changed files with 2 additions and 2 deletions
|
@ -675,7 +675,7 @@ void device_debug::exception_hook(int exception)
|
||||||
if (matched)
|
if (matched)
|
||||||
{
|
{
|
||||||
m_device.machine().debugger().cpu().set_execution_stopped();
|
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();
|
compute_debug_flags();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -701,7 +701,7 @@ void device_debug::exception_hook(int exception)
|
||||||
if (debugcpu.is_stopped())
|
if (debugcpu.is_stopped())
|
||||||
{
|
{
|
||||||
debugcpu.set_execution_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();
|
compute_debug_flags();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue