mirror of
https://github.com/simh/simh.git
synced 2026-01-14 23:55:06 +00:00
SCP: Fix default breakpoint message format.
When sim_brk_type_desc isn't populated, the matching breakpoint switches and matching address are displayed. Fix to use the optional VM provided address formatting function sim_vm_sprint_addr.
This commit is contained in:
parent
083b53ea11
commit
29c121e973
2
scp.c
2
scp.c
@ -9413,7 +9413,7 @@ if (sim_brk_type_desc) {
|
||||
}
|
||||
}
|
||||
if (!msg[0])
|
||||
sprintf (msg, "%s Breakpoint at: %o\n", put_switches (buf , sizeof(buf), sim_brk_match_type), sim_brk_match_addr);
|
||||
sprintf (msg, "%s Breakpoint at: %s\n", put_switches (buf , sizeof(buf), sim_brk_match_type), addr);
|
||||
|
||||
return msg;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user