From: OpenOCD-Gerrit <ope...@us...> - 2020-05-14 19:29:29
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via 11c5efd2ecd8df002567e272b874f2e6b821d9cd (commit) from dadf46f618b9cb3baea8679a4f6364df66092aac (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 11c5efd2ecd8df002567e272b874f2e6b821d9cd Author: Antonio Borneo <bor...@gm...> Date: Tue May 12 16:21:13 2020 +0200 target/arc: fix build with clang Commit da41bce3aee9 ("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 <bor...@gm...> Fixes: da41bce3aee9 ("target/arc: introduce breakpoint functionality") Reviewed-on: http://openocd.zylin.com/5655 Tested-by: jenkins Reviewed-by: Evgeniy Didin <di...@sy...> Reviewed-by: Tarek BOCHKATI <tar...@gm...> diff --git a/src/target/arc.c b/src/target/arc.c index bf744962a..6cf0ec7af 100644 --- a/src/target/arc.c +++ b/src/target/arc.c @@ -1445,7 +1445,7 @@ static int arc_unset_breakpoint(struct target *target, } else { LOG_WARNING("Software breakpoint @0x%" TARGET_PRIxADDR " 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); } } else { ----------------------------------------------------------------------- Summary of changes: src/target/arc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- Main OpenOCD repository |