aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2004-02-29 16:49:38 +0000
committerDaniel Jacobowitz <drow@false.org>2004-02-29 16:49:38 +0000
commitdc3f888344570174f93c1173793f0a1c88a08539 (patch)
tree27271536552d0834f641f5164c03b0c226b7e9d7 /gdb/gdbserver
parent89a208daacc59defd384b506238dec900894fb22 (diff)
downloadgdb-dc3f888344570174f93c1173793f0a1c88a08539.zip
gdb-dc3f888344570174f93c1173793f0a1c88a08539.tar.gz
gdb-dc3f888344570174f93c1173793f0a1c88a08539.tar.bz2
* server.c (handle_v_cont): Call set_desired_inferior.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r--gdb/gdbserver/ChangeLog4
-rw-r--r--gdb/gdbserver/server.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 3f94cbb..1560360 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,5 +1,9 @@
2004-02-29 Daniel Jacobowitz <drow@mvista.com>
+ * server.c (handle_v_cont): Call set_desired_inferior.
+
+2004-02-29 Daniel Jacobowitz <drow@mvista.com>
+
* remote-utils.c (prepare_resume_reply): Always supply "thread:".
2004-02-29 Daniel Jacobowitz <drow@mvista.com>
diff --git a/gdb/gdbserver/server.c b/gdb/gdbserver/server.c
index aa7a0d0..fb667ef 100644
--- a/gdb/gdbserver/server.c
+++ b/gdb/gdbserver/server.c
@@ -235,6 +235,7 @@ handle_v_cont (char *own_buf, char *status, unsigned char *signal)
cont_thread = resume_info[0].thread;
else
cont_thread = -1;
+ set_desired_inferior (0);
(*the_target->resume) (resume_info);