]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix kill of processes created by win32_create_inferior
authorHannes Domani <ssbssa@yahoo.de>
Sat, 8 Feb 2020 18:08:40 +0000 (19:08 +0100)
committerHannes Domani <ssbssa@yahoo.de>
Wed, 12 Feb 2020 16:11:45 +0000 (17:11 +0100)
commit052793ad150643bd6cc34b02fc2a4fa0f5ec6428
treefc5c14660728223f3e20b9844f9e3119a6090b68
parentcd5900f33b5bbd53a628071e4e7ab0d46af735ee
Fix kill of processes created by win32_create_inferior

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.
gdbserver/ChangeLog
gdbserver/win32-low.c