Debugger: Improve stop reason for 'brkop n' cmd to include address
This commit is contained in:
parent
771282a792
commit
47841bf58a
|
@ -8712,7 +8712,7 @@ void DebugContinueStepping (const bool bCallerWillUpdateDisplay/*=false*/)
|
||||||
else if (g_bDebugBreakpointHit & BP_HIT_INVALID)
|
else if (g_bDebugBreakpointHit & BP_HIT_INVALID)
|
||||||
stopReason = "Invalid opcode";
|
stopReason = "Invalid opcode";
|
||||||
else if (g_bDebugBreakpointHit & BP_HIT_OPCODE)
|
else if (g_bDebugBreakpointHit & BP_HIT_OPCODE)
|
||||||
stopReason = "Opcode match";
|
stopReason = StrFormat("Opcode match at " CHC_ARG_SEP "$" CHC_ADDRESS "%04X", regs.pc);
|
||||||
else if (g_bDebugBreakpointHit & BP_HIT_REG)
|
else if (g_bDebugBreakpointHit & BP_HIT_REG)
|
||||||
{
|
{
|
||||||
if (g_pDebugBreakpointHit)
|
if (g_pDebugBreakpointHit)
|
||||||
|
|
Loading…
Reference in New Issue