From: <du...@ma...> - 2009-06-21 05:16:12
|
Author: duane Date: 2009-06-21 05:16:09 +0200 (Sun, 21 Jun 2009) New Revision: 2312 Modified: trunk/src/target/breakpoints.c Log: C99 printf() -Werror fixes Modified: trunk/src/target/breakpoints.c =================================================================== --- trunk/src/target/breakpoints.c 2009-06-21 03:16:05 UTC (rev 2311) +++ trunk/src/target/breakpoints.c 2009-06-21 03:16:09 UTC (rev 2312) @@ -84,7 +84,7 @@ } } - 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 @@ } 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 @@ } } - 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 @@ } else { - LOG_ERROR("no watchpoint at address 0x%8.8x found", address); + LOG_ERROR("no watchpoint at address 0x%8.8" PRIx32 " found", address); } } |