mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-03 04:12:10 +08:00
* server.c (handle_v_kill): Pass signal_pid to
kill_inferior if multi_process is zero.
This commit is contained in:
parent
1307d6cd4a
commit
0f54c268db
@ -1,3 +1,8 @@
|
||||
2009-06-24 Pierre Muller <muller@ics.u-strasbg.fr>
|
||||
|
||||
* server.c (handle_v_kill): Pass signal_pid to
|
||||
kill_inferior if multi_process is zero.
|
||||
|
||||
2009-06-23 Aleksandar Ristovski <aristovski@qnx.com>
|
||||
|
||||
* server.c (process_serial_event): Add support for Z0 and Z1 packet.
|
||||
|
@ -1523,8 +1523,10 @@ handle_v_kill (char *own_buf)
|
||||
{
|
||||
int pid;
|
||||
char *p = &own_buf[6];
|
||||
|
||||
pid = strtol (p, NULL, 16);
|
||||
if (multi_process)
|
||||
pid = strtol (p, NULL, 16);
|
||||
else
|
||||
pid = signal_pid;
|
||||
if (pid != 0 && kill_inferior (pid) == 0)
|
||||
{
|
||||
last_status.kind = TARGET_WAITKIND_SIGNALLED;
|
||||
|
Loading…
Reference in New Issue
Block a user