aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2009-03-18 01:29:27 +0000
committerPedro Alves <palves@redhat.com>2009-03-18 01:29:27 +0000
commit5338cef16adb508bc11dbbdbbb3e9560e67e5980 (patch)
treea0a76f1d836ee5b15d26bf154b279cbb50e34e7b /gdb
parent717a8278b140f1127459a38138085f36496eba63 (diff)
downloadgdb-5338cef16adb508bc11dbbdbbb3e9560e67e5980.zip
gdb-5338cef16adb508bc11dbbdbbb3e9560e67e5980.tar.gz
gdb-5338cef16adb508bc11dbbdbbb3e9560e67e5980.tar.bz2
* remote.c (remote_start_remote): Add missing call to
init_wait_for_inferior in non-stop mode.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/remote.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a575101..4c04a74 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
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
watchpoints that have a location.
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. */