handle_v_kill uses signal_pid because win32 doesn't support multi-process.
Without this gdb just refuses to kill the process:
(gdb) kill
Kill the program being debugged? (y or n) y
Sending packet: $vKill;a410#33...Packet received: E01
Packet vKill (kill) is supported
Can't kill process
gdbserver/ChangeLog:
2020-02-12 Hannes Domani <ssbssa@yahoo.de>
* win32-low.c (win32_create_inferior): Set signal_pid.
+2020-02-12 Hannes Domani <ssbssa@yahoo.de>
+
+ * win32-low.c (win32_create_inferior): Set signal_pid.
+
2020-02-12 Maciej W. Rozycki <macro@wdc.com>
Pedro Alves <palves@redhat.com>
(assuming success). */
cs.last_ptid = win32_wait (ptid_t (current_process_id), &cs.last_status, 0);
+ /* Necessary for handle_v_kill. */
+ signal_pid = current_process_id;
+
return current_process_id;
}