diff --git a/src/target/arm7tdmi.c b/src/target/arm7tdmi.c index 16d1b136d..ff398887d 100644 --- a/src/target/arm7tdmi.c +++ b/src/target/arm7tdmi.c @@ -279,7 +279,7 @@ int arm7tdmi_clock_data_in_endianness(arm_jtag_t *jtag_info, void *in, int size, if (in) { - LOG_DEBUG("in: 0x%8.8x", *in); + LOG_DEBUG("in: 0x%8.8x", *(u32*)in); } else { diff --git a/src/target/arm926ejs.c b/src/target/arm926ejs.c index ffa2b0d62..386d4471a 100644 --- a/src/target/arm926ejs.c +++ b/src/target/arm926ejs.c @@ -28,7 +28,7 @@ #include #include -#if 1 +#if 0 #define _DEBUG_INSTRUCTION_EXECUTION_ #endif diff --git a/src/target/arm9tdmi.c b/src/target/arm9tdmi.c index 90fb45aa6..a4d18dd57 100644 --- a/src/target/arm9tdmi.c +++ b/src/target/arm9tdmi.c @@ -381,7 +381,7 @@ int arm9tdmi_clock_data_in_endianness(arm_jtag_t *jtag_info, void *in, int size, if (in) { - LOG_DEBUG("in: 0x%8.8x", *in); + LOG_DEBUG("in: 0x%8.8x", *(u32*)in); } else {