[PATCH 1/7] New test case gdb.trace/signal.exp

Pedro Alves palves@redhat.com
Mon Apr 11 14:08:00 GMT 2016


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



More information about the Gdb-patches mailing list