diff options
author | duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-21 03:16:09 +0000 |
---|---|---|
committer | duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-21 03:16:09 +0000 |
commit | 0f9c1bfd82bc6a3350349f251cf4deb52ca3878c (patch) | |
tree | 2430a20f00e34017ee593241b5d5ff8093bb359f | |
parent | be680ada77b015f380b5c6c9ceacd06e8fbe44dd (diff) | |
download | openocd+libswd-0f9c1bfd82bc6a3350349f251cf4deb52ca3878c.tar.gz openocd+libswd-0f9c1bfd82bc6a3350349f251cf4deb52ca3878c.tar.bz2 openocd+libswd-0f9c1bfd82bc6a3350349f251cf4deb52ca3878c.tar.xz openocd+libswd-0f9c1bfd82bc6a3350349f251cf4deb52ca3878c.zip |
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2312 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r-- | src/target/breakpoints.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/target/breakpoints.c b/src/target/breakpoints.c index 07fcb3ad..b1faf5ad 100644 --- a/src/target/breakpoints.c +++ b/src/target/breakpoints.c @@ -84,7 +84,7 @@ int breakpoint_add(target_t *target, uint32_t address, uint32_t length, enum bre } } - LOG_DEBUG("added %s breakpoint at 0x%8.8x of length 0x%8.8x", + LOG_DEBUG("added %s breakpoint at 0x%8.8" PRIx32 " of length 0x%8.8x", breakpoint_type_strings[(*breakpoint_p)->type], (*breakpoint_p)->address, (*breakpoint_p)->length); @@ -134,7 +134,7 @@ void breakpoint_remove(target_t *target, uint32_t address) } else { - LOG_ERROR("no breakpoint at address 0x%8.8x found", address); + LOG_ERROR("no breakpoint at address 0x%8.8" PRIx32 " found", address); } } @@ -207,7 +207,7 @@ int watchpoint_add(target_t *target, uint32_t address, uint32_t length, enum wat } } - LOG_DEBUG("added %s watchpoint at 0x%8.8x of length 0x%8.8x", + LOG_DEBUG("added %s watchpoint at 0x%8.8" PRIx32 " of length 0x%8.8x", watchpoint_rw_strings[(*watchpoint_p)->rw], (*watchpoint_p)->address, (*watchpoint_p)->length); @@ -253,7 +253,7 @@ void watchpoint_remove(target_t *target, uint32_t address) } else { - LOG_ERROR("no watchpoint at address 0x%8.8x found", address); + LOG_ERROR("no watchpoint at address 0x%8.8" PRIx32 " found", address); } } |