From: Pedro Alves Date: Wed, 18 Mar 2009 01:29:27 +0000 (+0000) Subject: * remote.c (remote_start_remote): Add missing call to X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5338cef16adb508bc11dbbdbbb3e9560e67e5980;p=binutils-gdb.git * remote.c (remote_start_remote): Add missing call to init_wait_for_inferior in non-stop mode. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a57510148bb..4c04a74cf08 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2009-03-18 Pedro Alves + + * remote.c (remote_start_remote): Add missing call to + init_wait_for_inferior in non-stop mode. + 2009-03-18 Pedro Alves * breakpoint.c (bpstat_should_step): Only consider software diff --git a/gdb/remote.c b/gdb/remote.c index e3a7170bb38..a1904867d50 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. */