- 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
This commit is contained in:
ntfreak 2008-06-24 09:26:30 +00:00
parent 77fd8150ce
commit e5c315d137
3 changed files with 3 additions and 3 deletions

View File

@ -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
{

View File

@ -28,7 +28,7 @@
#include <stdlib.h>
#include <string.h>
#if 1
#if 0
#define _DEBUG_INSTRUCTION_EXECUTION_
#endif

View File

@ -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
{