diff options
-rw-r--r-- | src/target/arm7tdmi.c | 2 | ||||
-rw-r--r-- | src/target/arm926ejs.c | 2 | ||||
-rw-r--r-- | src/target/arm9tdmi.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/target/arm7tdmi.c b/src/target/arm7tdmi.c index 16d1b136..ff398887 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 ffa2b0d6..386d4471 100644 --- a/src/target/arm926ejs.c +++ b/src/target/arm926ejs.c @@ -28,7 +28,7 @@ #include <stdlib.h> #include <string.h> -#if 1 +#if 0 #define _DEBUG_INSTRUCTION_EXECUTION_ #endif diff --git a/src/target/arm9tdmi.c b/src/target/arm9tdmi.c index 90fb45aa..a4d18dd5 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 { |