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
1 changed files with 1 additions and 1 deletions
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…
Add table
Reference in a new issue