From 29c121e97319867aed92200c51fe6ec70934224a Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Sun, 11 Sep 2016 03:43:24 -0700 Subject: [PATCH] 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. --- scp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scp.c b/scp.c index 42622df8..13985ddd 100644 --- a/scp.c +++ b/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; }