follow up to keep_alive() fix. process target events before returning from reset procedure.

git-svn-id: svn://svn.berlios.de/openocd/trunk@986 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
oharboe 2008-09-12 10:53:10 +00:00
parent 9b6853bc4c
commit d28931c2d4

View File

@ -430,6 +430,10 @@ static int NEW_target_process_reset(struct command_context_s *cmd_ctx, enum targ
sprintf( buf, "ocd_process_reset %s", n->name );
Jim_Eval( interp, buf );
/* We want any events to be processed before the prompt */
target_call_timer_callbacks_now();
return ERROR_OK;
}