aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/server.c
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/server.c
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/server.c')
-rw-r--r--gdb/gdbserver/server.c1
1 files changed, 1 insertions, 0 deletions
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);