summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorduane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-21 03:17:03 +0000
committerduane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-21 03:17:03 +0000
commit610f4e9522706a1db7bed7f045dfce72fa6d4665 (patch)
tree25e963f7ad74fb4e217783b416f492336a7f759e /src
parent6e2bdc3e68ffd8e1db6f06ab8f52cd225a5e5c46 (diff)
downloadopenocd+libswd-610f4e9522706a1db7bed7f045dfce72fa6d4665.tar.gz
openocd+libswd-610f4e9522706a1db7bed7f045dfce72fa6d4665.tar.bz2
openocd+libswd-610f4e9522706a1db7bed7f045dfce72fa6d4665.tar.xz
openocd+libswd-610f4e9522706a1db7bed7f045dfce72fa6d4665.zip
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2320 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r--src/target/mips32.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/target/mips32.c b/src/target/mips32.c
index 5d9f343f..6c4bfb9a 100644
--- a/src/target/mips32.c
+++ b/src/target/mips32.c
@@ -164,7 +164,7 @@ int mips32_write_core_reg(struct target_s *target, int num)
reg_value = buf_get_u32(mips32->core_cache->reg_list[num].value, 0, 32);
mips_core_reg = mips32->core_cache->reg_list[num].arch_info;
mips32->core_regs[num] = reg_value;
- LOG_DEBUG("write core reg %i value 0x%x", num , reg_value);
+ LOG_DEBUG("write core reg %i value 0x%" PRIx32 "", num , reg_value);
mips32->core_cache->reg_list[num].valid = 1;
mips32->core_cache->reg_list[num].dirty = 0;
@@ -264,7 +264,7 @@ int mips32_arch_state(struct target_s *target)
exit(-1);
}
- LOG_USER("target halted due to %s, pc: 0x%8.8x",
+ LOG_USER("target halted due to %s, pc: 0x%8.8" PRIx32 "",
Jim_Nvp_value2name_simple( nvp_target_debug_reason, target->debug_reason )->name ,
buf_get_u32(mips32->core_cache->reg_list[MIPS32_PC].value, 0, 32));
@@ -414,7 +414,7 @@ int mips32_configure_break_unit(struct target_s *target)
return retval;
}
- LOG_DEBUG("DCR 0x%x numinst %i numdata %i", dcr, mips32->num_inst_bpoints, mips32->num_data_bpoints);
+ LOG_DEBUG("DCR 0x%" PRIx32 " numinst %i numdata %i", dcr, mips32->num_inst_bpoints, mips32->num_data_bpoints);
mips32->bp_scanned = 1;