From: David Brownell Date: Fri, 18 Dec 2009 11:08:49 +0000 (-0800) Subject: dsp563xx: cygwin build fixes X-Git-Tag: v0.4.0-rc1~19 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=85a4136d0baccf5c3b8f717710584f7faed0ca30;p=openocd dsp563xx: cygwin build fixes Signed-off-by: David Brownell --- diff --git a/src/target/dsp563xx.c b/src/target/dsp563xx.c index d3fa4c3b..9e2f6093 100644 --- a/src/target/dsp563xx.c +++ b/src/target/dsp563xx.c @@ -547,7 +547,7 @@ int dsp563xx_halt(struct target *target) LOG_DEBUG("%02X", jtag_status); dsp563xx_once_reg_read(target->tap, DSP563XX_ONCE_OSCR, &once_status); - LOG_DEBUG("%02X", once_status); + LOG_DEBUG("%02X", (unsigned) once_status); } LOG_DEBUG("target->state: %s", target_state_name(target)); @@ -606,7 +606,7 @@ int dsp563xx_step(struct target *target, int current, uint32_t address, return ERROR_OK; } - LOG_DEBUG("%s %08X %08X", __FUNCTION__, current, address); + LOG_DEBUG("%s %08X %08X", __FUNCTION__, current, (unsigned) address); dsp563xx_jtag_debug_request(target); @@ -666,13 +666,13 @@ int dsp563xx_step(struct target *target, int current, uint32_t address, dsp563xx_once_reg_read(target->tap, DSP563XX_ONCE_OPABFR, &dr_in); - LOG_DEBUG("%08X", dr_in); + LOG_DEBUG("%08X", (unsigned) dr_in); dsp563xx_once_reg_read(target->tap, DSP563XX_ONCE_OPABDR, &dr_in); - LOG_DEBUG("%08X", dr_in); + LOG_DEBUG("%08X", (unsigned) dr_in); dsp563xx_once_reg_read(target->tap, DSP563XX_ONCE_OPABEX, &dr_in); - LOG_DEBUG("%08X", dr_in); + LOG_DEBUG("%08X", (unsigned) dr_in); /* reset trace mode */ dsp563xx_once_reg_write(target->tap, DSP563XX_ONCE_OSCR,