From 5338cef16adb508bc11dbbdbbb3e9560e67e5980 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Wed, 18 Mar 2009 01:29:27 +0000 Subject: * remote.c (remote_start_remote): Add missing call to init_wait_for_inferior in non-stop mode. --- gdb/remote.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gdb/remote.c') diff --git a/gdb/remote.c b/gdb/remote.c index e3a7170b..a190486 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -2802,6 +2802,8 @@ remote_start_remote (struct ui_out *uiout, void *opaque) /* In non-stop mode, any cached wait status will be stored in the stop reply queue. */ gdb_assert (wait_status == NULL); + + init_wait_for_inferior (); } /* If we connected to a live target, do some additional setup. */ -- cgit v1.1