/* This testcase is part of GDB, the GNU debugger.
- Copyright 2008, 2010-2012 Free Software Foundation, Inc.
+ Copyright 2008-2016 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
/* Support program for testing handling of inferior function calls
in the presence of signals. */
-#include <stdio.h>
#include <signal.h>
#include <unistd.h>
gen_signal ()
{
/* According to sigall.exp, SIGABRT is always supported. */
-#ifdef SIGABRT
kill (getpid (), SIGABRT);
-#endif
- /* If we get here we couldn't generate a signal, tell dejagnu. */
- printf ("no signal\n");
}
/* Easy place to set a breakpoint. */