Remove preprocessor conditionals for ANSI-standard signals
authorGary Benson <gbenson@redhat.com>
Fri, 6 Jun 2014 09:32:12 +0000 (10:32 +0100)
committerGary Benson <gbenson@redhat.com>
Fri, 6 Jun 2014 09:32:12 +0000 (10:32 +0100)
commit73ba372ccf523876ab4b05993e240a37f99d9633
tree98645fe056ba5dd19fbfe31c0ae4515103e2a89d
parentadcc0a31ccb1b75debc778fdedb351321375e0bf
Remove preprocessor conditionals for ANSI-standard signals

The six signals SIGINT, SIGILL, SIGABRT, SIGFPE, SIGSEGV and SIGTERM
are ANSI-standard and thus guaranteed to be available.  This patch
removes all preprocessor conditionals relating to these symbols.

gdb/
2014-06-06  Gary Benson  <gbenson@redhat.com>

* common/signals.c: Remove preprocessor conditionals for
always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
SIGSEGV and SIGTERM.
* proc-events.c: Likewise.

gdb/testsuite/
2014-06-06  Gary Benson  <gbenson@redhat.com>

* gdb.base/call-signals.c: Remove preprocessor conditionals
for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
SIGSEGV and SIGTERM.
* gdb.base/sigall.c: Likewise.
* gdb.base/unwindonsignal.c: Likewise.
* gdb.reverse/sigall-reverse.c: Likewise.
gdb/ChangeLog
gdb/common/signals.c
gdb/proc-events.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/call-signals.c
gdb/testsuite/gdb.base/sigall.c
gdb/testsuite/gdb.base/unwindonsignal.c
gdb/testsuite/gdb.reverse/sigall-reverse.c