From: Pedro Alves Date: Thu, 14 Aug 2008 01:39:24 +0000 (+0000) Subject: * infcmd.c (continue_1): Add an ERROR_NO_INFERIOR call. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3d488bfcdec9a096a801442d4c91c51952b4b22b;p=binutils-gdb.git * infcmd.c (continue_1): Add an ERROR_NO_INFERIOR call. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ca1a7efd559..f246016442b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2008-08-14 Pedro Alves + + * infcmd.c (continue_1): Add an ERROR_NO_INFERIOR call. + 2008-08-13 Pedro Alves * breakpoint.c (always_inserted_auto, always_inserted_on) diff --git a/gdb/infcmd.c b/gdb/infcmd.c index 572555c69d5..82d4710d1dd 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -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