target/arc: fix build with clang
Commitda41bce3ae
("target/arc: introduce breakpoint functionality") introduces a mismatch between the format string and one int constant. Change the format string to match the int constant. Change-Id: I0d59552205551b90e165c0a2e3fef247ad0c7701 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Fixes:da41bce3ae
("target/arc: introduce breakpoint functionality") Reviewed-on: http://openocd.zylin.com/5655 Tested-by: jenkins Reviewed-by: Evgeniy Didin <didin@synopsys.com> Reviewed-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
This commit is contained in:
parent
dadf46f618
commit
11c5efd2ec
|
@ -1445,7 +1445,7 @@ static int arc_unset_breakpoint(struct target *target,
|
||||||
} else {
|
} else {
|
||||||
LOG_WARNING("Software breakpoint @0x%" TARGET_PRIxADDR
|
LOG_WARNING("Software breakpoint @0x%" TARGET_PRIxADDR
|
||||||
" has been overwritten outside of debugger. "
|
" has been overwritten outside of debugger. "
|
||||||
"Expected: 0x%04" PRIx16 ", got: 0x%04" PRIx16,
|
"Expected: 0x%04x, got: 0x%04" PRIx16,
|
||||||
breakpoint->address, ARC_SDBBP_16, current_instr);
|
breakpoint->address, ARC_SDBBP_16, current_instr);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue