X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Fxscale.c;h=9511be0af16267fcdaaeb4395df1bd23f231e494;hp=32c656bba721d368c387ed4d0ab6575c12246608;hb=c69553cbc51770f61cf3b9225d46d058fa2544d0;hpb=1795239cfda77315ea2f4fbc028e7a411d13a7d0 diff --git a/src/target/xscale.c b/src/target/xscale.c index 32c656bba7..9511be0af1 100644 --- a/src/target/xscale.c +++ b/src/target/xscale.c @@ -2753,7 +2753,7 @@ static int xscale_read_instruction(struct target *target, uint32_t pc, pc - xscale->trace.image->sections[section].base_address, 4, buf, &size_read)) != ERROR_OK) { - LOG_ERROR("error while reading instruction: %i", retval); + LOG_ERROR("error while reading instruction"); return ERROR_TRACE_INSTRUCTION_UNAVAILABLE; } opcode = target_buffer_get_u32(target, buf); @@ -2766,7 +2766,7 @@ static int xscale_read_instruction(struct target *target, uint32_t pc, pc - xscale->trace.image->sections[section].base_address, 2, buf, &size_read)) != ERROR_OK) { - LOG_ERROR("error while reading instruction: %i", retval); + LOG_ERROR("error while reading instruction"); return ERROR_TRACE_INSTRUCTION_UNAVAILABLE; } opcode = target_buffer_get_u16(target, buf);