This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 6/6] Add test that exercises the inferior being killed while stopped under GDB
- From: Pedro Alves <palves at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Tue, 14 Jul 2015 11:22:14 +0100
- Subject: Re: [PATCH 6/6] Add test that exercises the inferior being killed while stopped under GDB
- Authentication-results: sourceware.org; auth=none
- References: <1425671886-7798-1-git-send-email-palves at redhat dot com> <1425671886-7798-7-git-send-email-palves at redhat dot com>
On 03/06/2015 07:58 PM, Pedro Alves wrote:
> This exercises the case of the inferior disappearing while GDB is
> debugging it, such as something doing "kill -9 PID" while the program
> is stopped under GDB or GDBserver. This triggered a set of internal
> errors, fixed by the previous patches.
>
> gdb/testsuite/ChangeLog:
> 2015-03-06 Pedro Alves <palves@redhat.com>
>
> * gdb.base/killed-outside.exp: New file.
> * gdb.base/killed-outside.c: New file.
I pushed this in.
Thanks,
Pedro Alves