X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Ftarget%2Fnds32_v3_common.c;h=6dc20982d19bc607c38479df285c86072514a722;hb=94d64ccaebd3df17f5873c076fc08ca97088cb1e;hp=531cab09452e0ecccfeed918c065e002418b41ca;hpb=ee019bf5f896912761d4b16516bf562f9ffe52da;p=openocd.git diff --git a/src/target/nds32_v3_common.c b/src/target/nds32_v3_common.c index 531cab0945..6dc20982d1 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;