aboutsummaryrefslogtreecommitdiff
path: root/src/target/nds32_v3_common.c
diff options
context:
space:
mode:
authorHsiangkai Wang <hsiangkai@gmail.com>2013-11-04 12:43:12 +0800
committerSpencer Oliver <spen@spen-soft.co.uk>2014-01-15 12:40:42 +0000
commit94d64ccaebd3df17f5873c076fc08ca97088cb1e (patch)
treebf59fb3d3370c8bbd630ccc76b94d24eb952d546 /src/target/nds32_v3_common.c
parentee019bf5f896912761d4b16516bf562f9ffe52da (diff)
Conform to C99 integer types format specifiers
Review and modify to conform to C99 integer types format specifiers. Use arm-none-eabi toolchain to build successfully. Change-Id: If855072a8f88886809309155ac6d031dcfcbc4b2 Signed-off-by: Hsiangkai Wang <hsiangkai@gmail.com> Signed-off-by: Hsiangkai <hsiangkai@gmail.com> Reviewed-on: http://openocd.zylin.com/1794 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'src/target/nds32_v3_common.c')
-rw-r--r--src/target/nds32_v3_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/nds32_v3_common.c b/src/target/nds32_v3_common.c
index 531cab09..6dc20982 100644
--- a/src/target/nds32_v3_common.c
+++ b/src/target/nds32_v3_common.c
@@ -281,8 +281,8 @@ static int nds32_v3_get_exception_address(struct nds32 *nds32,
nds32_read_opcode(nds32, val_pc, &opcode);
nds32_evaluate_opcode(nds32, opcode, val_pc, &instruction);
- LOG_DEBUG("PC: 0x%08x, access start: 0x%08x, end: 0x%08x", val_pc,
- instruction.access_start, instruction.access_end);
+ LOG_DEBUG("PC: 0x%08" PRIx32 ", access start: 0x%08" PRIx32 ", end: 0x%08" PRIx32,
+ val_pc, instruction.access_start, instruction.access_end);
/* check if multiple hits in the access range */
uint32_t in_range_watch_count = 0;