warnings & comments fixes.
git-svn-id: svn://svn.berlios.de/openocd/trunk@449 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
parent
01a5d87d5f
commit
087ccf3b6e
|
@ -362,11 +362,9 @@ int target_process_reset(struct command_context_s *cmd_ctx)
|
||||||
command_print(cmd_ctx, "Timed out waiting for reset");
|
command_print(cmd_ctx, "Timed out waiting for reset");
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
/* this will send alive messages on e.g. GDB remote protocol.
|
/* this will send alive messages on e.g. GDB remote protocol. */
|
||||||
* GDB warns me that I'm sending a zero length formatting message,
|
|
||||||
* which is strange, but in fact what is intended here. */
|
|
||||||
usleep(500*1000);
|
usleep(500*1000);
|
||||||
USER_N("");
|
USER_N("%s", ""); /* avoid warning about zero length formatting message*/
|
||||||
goto again;
|
goto again;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -380,7 +380,7 @@ int xscale_receive(target_t *target, u32 *buffer, int num_words)
|
||||||
|
|
||||||
jtag_add_end_state(TAP_RTI);
|
jtag_add_end_state(TAP_RTI);
|
||||||
xscale_jtag_set_instr(xscale->jtag_info.chain_pos, xscale->jtag_info.dbgtx);
|
xscale_jtag_set_instr(xscale->jtag_info.chain_pos, xscale->jtag_info.dbgtx);
|
||||||
jtag_add_runtest(1, -1);
|
jtag_add_runtest(1, -1); /* ensures that we're in the TAP_RTI state as the above could be a no-op */
|
||||||
|
|
||||||
/* repeat until all words have been collected */
|
/* repeat until all words have been collected */
|
||||||
int attempts=0;
|
int attempts=0;
|
||||||
|
|
Loading…
Reference in New Issue