switch to alive_sleep() to avoid gdb timeouts

git-svn-id: svn://svn.berlios.de/openocd/trunk@945 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
oharboe
2008-08-19 16:43:30 +00:00
parent ea0270e38e
commit d8057f6db1
2 changed files with 3 additions and 3 deletions

View File

@@ -523,7 +523,7 @@ int cortex_m3_soft_reset_halt(struct target_s *target)
LOG_DEBUG("waiting for system reset-halt, dcb_dhcsr 0x%x, %i ms", dcb_dhcsr, timeout);
}
timeout++;
usleep(1000);
alive_sleep(1);
}
return ERROR_OK;