imxtools/sbtools/sb1: fix parsing/debug bug about jump/call arguments
Change-Id: Ib406cfc03ced6c8689ed467c154d6a7447a34e5c
diff --git a/utils/imxtools/sbtools/sb1.c b/utils/imxtools/sbtools/sb1.c
index 06e29c4..6bc4dd8 100644
--- a/utils/imxtools/sbtools/sb1.c
+++ b/utils/imxtools/sbtools/sb1.c
@@ -563,7 +563,7 @@
printf(YELLOW, " Addr:");
printf(RED, " %#x\n", cmd->addr);
printf(YELLOW, " Argument:");
- printf(RED, " %#x\n", inst.pattern);
+ printf(RED, " %#x\n", inst.argument);
break;
default:
printf(GREY, "WARNING: unknown SB command !\n");
@@ -652,7 +652,9 @@
printf(SEP, " | ");
printf(TEXT3, "crit=%d", inst->critical);
printf(SEP, " | ");
- printf(TEXT, "addr=0x%08x\n", inst->addr);
+ printf(TEXT, "addr=0x%08x", inst->addr);
+ printf(SEP, " | ");
+ printf(TEXT2, "arg=0x%08x\n", inst->argument);
break;
case SB1_INST_LOAD:
printf(HEADER, "LOAD");