* remote.c (remote_start_remote): Add missing call to

init_wait_for_inferior in non-stop mode.
This commit is contained in:
Pedro Alves 2009-03-18 01:29:27 +00:00
parent 717a8278b1
commit 5338cef16a
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2009-03-18 Pedro Alves <pedro@codesourcery.com>
* remote.c (remote_start_remote): Add missing call to
init_wait_for_inferior in non-stop mode.
2009-03-18 Pedro Alves <pedro@codesourcery.com>
* breakpoint.c (bpstat_should_step): Only consider software

View File

@ -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. */