* infcmd.c (continue_1): Add an ERROR_NO_INFERIOR call.

This commit is contained in:
Pedro Alves 2008-08-14 01:39:24 +00:00
parent b4ab0a8c55
commit 3d488bfcde
2 changed files with 6 additions and 0 deletions

View file

@ -614,6 +614,8 @@ proceed_thread_callback (struct thread_info *thread, void *arg)
void
continue_1 (int all_threads)
{
ERROR_NO_INFERIOR;
if (non_stop && all_threads)
{
/* Don't error out if the current thread is running, because