Commit e5c315d1 authored by ntfreak's avatar ntfreak
Browse files

- fix compile errors when _DEBUG_INSTRUCTION_EXECUTION_ is defined

- Thanks Simon Qian

git-svn-id: svn://svn.berlios.de/openocd/trunk@725 b42882b7-edfa-0310-969c-e2dbd0fdcd60
parent 77fd8150
......@@ -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
{
......
......@@ -28,7 +28,7 @@
#include <stdlib.h>
#include <string.h>
#if 1
#if 0
#define _DEBUG_INSTRUCTION_EXECUTION_
#endif
......
......@@ -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
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment