- Replace '\(\w\)\(-=\)(' with '\1 \2 ('.
- Replace '\(\w\)\(-=\)\(\w\)' with '\1 \2 \3'.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2362
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
/* clear the command line */
telnet_write(connection, "\r", 1);
/* clear the command line */
telnet_write(connection, "\r", 1);
- for (i = strlen(t_con->prompt) + t_con->line_size; i>0; i-=16)
+ for (i = strlen(t_con->prompt) + t_con->line_size; i>0; i -= 16)
telnet_write(connection, " ", i>16 ? 16 : i);
telnet_write(connection, "\r", 1);
telnet_write(connection, " ", i>16 ? 16 : i);
telnet_write(connection, "\r", 1);
while (run--)
{
/* as per gdb */
while (run--)
{
/* as per gdb */
{
/* clip addresses below */
offset+=min_address-image.sections[i].base_address;
{
/* clip addresses below */
offset+=min_address-image.sections[i].base_address;
}
if (image.sections[i].base_address+buf_cnt>max_address)
{
}
if (image.sections[i].base_address+buf_cnt>max_address)
{
- length-=(image.sections[i].base_address+buf_cnt)-max_address;
+ length -= (image.sections[i].base_address+buf_cnt)-max_address;
}
if ((retval = target_write_buffer(target, image.sections[i].base_address+offset, length, buffer+offset)) != ERROR_OK)
}
if ((retval = target_write_buffer(target, image.sections[i].base_address+offset, length, buffer+offset)) != ERROR_OK)
{
/* clip addresses below */
offset+=min_address-image.sections[i].base_address;
{
/* clip addresses below */
offset+=min_address-image.sections[i].base_address;
}
if (image.sections[i].base_address+buf_cnt>max_address)
{
}
if (image.sections[i].base_address+buf_cnt>max_address)
{
- length-=(image.sections[i].base_address+buf_cnt)-max_address;
+ length -= (image.sections[i].base_address+buf_cnt)-max_address;
}
fastload[i].address=image.sections[i].base_address+offset;
}
fastload[i].address=image.sections[i].base_address+offset;