aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcmd.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2008-08-14 01:39:24 +0000
committerPedro Alves <palves@redhat.com>2008-08-14 01:39:24 +0000
commit3d488bfcdec9a096a801442d4c91c51952b4b22b (patch)
tree9c1b3d981599acc47aa0c882c1e71d641d8ea676 /gdb/infcmd.c
parentb4ab0a8c55750048f7ddc6b3aa653cb83b7191f0 (diff)
downloadgdb-3d488bfcdec9a096a801442d4c91c51952b4b22b.zip
gdb-3d488bfcdec9a096a801442d4c91c51952b4b22b.tar.gz
gdb-3d488bfcdec9a096a801442d4c91c51952b4b22b.tar.bz2
* infcmd.c (continue_1): Add an ERROR_NO_INFERIOR call.
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r--gdb/infcmd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 572555c..82d4710 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