[Skiboot] [PATCH] Fixup "i" command in mambo scripts

Benjamin Herrenschmidt benh at kernel.crashing.org
Wed Mar 11 15:49:18 AEDT 2015


Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
---
 external/mambo/mambo_utils.tcl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/external/mambo/mambo_utils.tcl b/external/mambo/mambo_utils.tcl
index 6156564..ae287dc 100644
--- a/external/mambo/mambo_utils.tcl
+++ b/external/mambo/mambo_utils.tcl
@@ -68,7 +68,7 @@ proc i { pc { t 0 } { c 0 } } {
     set pc_laddr [mysim cpu $c util itranslate $pc]
     set inst [mysim cpu $c memory display $pc_laddr 4]
     set disasm [mysim cpu $c util ppc_disasm $inst $pc]
-    return "[$c:$t]: $pc ($pc_laddr) Enc:$inst : $disasm"
+    return "\[$c:$t\]: $pc ($pc_laddr) Enc:$inst : $disasm"
 }
 
 proc ipc { {t 0} {c 0}} {




More information about the Skiboot mailing list