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:
Mark Pizzolato 2016-09-11 03:43:24 -07:00
parent 083b53ea11
commit 29c121e973

2
scp.c
View file

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