1 FIXME: Why is this patch needed?
3 diff -u -r ../gdb-7.12/gdb/common/signals-state-save-restore.c ./gdb/common/signals-state-save-restore.c
4 --- ../gdb-7.12/gdb/common/signals-state-save-restore.c 2016-10-07 13:04:17.000000000 -0400
5 +++ ./gdb/common/signals-state-save-restore.c 2016-10-09 18:39:27.866619885 -0400
8 perror_with_name (("sigaction"));
11 /* If we find a custom signal handler already installed, then
12 this function was called too late. */
13 if (oldact->sa_handler != SIG_DFL && oldact->sa_handler != SIG_IGN)
14 internal_error (__FILE__, __LINE__, _("unexpected signal handler"));