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__archive__
parent
9b6853bc4c
commit
d28931c2d4
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue