This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 1/7] New test case gdb.trace/signal.exp
- From: Pedro Alves <palves at redhat dot com>
- To: Yao Qi <qiyaoltc at gmail dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 11 Apr 2016 15:07:59 +0100
- Subject: Re: [PATCH 1/7] New test case gdb.trace/signal.exp
- Authentication-results: sourceware.org; auth=none
- References: <1458749384-19793-1-git-send-email-yao dot qi at linaro dot org> <1458749384-19793-2-git-send-email-yao dot qi at linaro dot org> <5707E1CC dot 2010609 at redhat dot com> <86a8l0leqy dot fsf at gmail dot com>
BTW,
On 04/11/2016 09:40 AM, Yao Qi wrote:
> +#include <signal.h>
> +#include <string.h>
> +#include <stdio.h>
> +
> + kill (getpid (), SIGABRT);
getpid needs unistd.h, and stdio.h doesn't look like needed.
Thanks,
Pedro Alves