This is an automated email from Gerrit.

Antonio Borneo ([email protected]) just uploaded a new patch set to 
Gerrit, which you can find at http://openocd.zylin.com/5655

-- gerrit

commit 3323267ebfb63e73800fe236aea15165ea1f0022
Author: Antonio Borneo <[email protected]>
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 <[email protected]>
    Fixes: da41bce3aee9 ("target/arc: introduce breakpoint functionality")

diff --git a/src/target/arc.c b/src/target/arc.c
index bf74496..6cf0ec7 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 {

-- 


_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to