aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog13
-rw-r--r--gdb/Makefile.in16
-rw-r--r--gdb/event-top.c2
-rw-r--r--gdb/inflow.c1
-rw-r--r--gdb/mac-xdep.c2
-rw-r--r--gdb/ser-pipe.c2
-rw-r--r--gdb/ser-tcp.c2
-rw-r--r--gdb/signals.h28
-rw-r--r--gdb/standalone.c2
-rw-r--r--gdb/top.c2
-rw-r--r--gdb/utils.c2
11 files changed, 28 insertions, 44 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7f9bfe2..4dc7bd6 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,16 @@
+2001-02-05 J.T. Conklin <jtc@redback.com>
+
+ * signals.h: Removed.
+ * event-top.c (#include <signal.h>): Changed from signals.h.
+ * inflow.c: Likewise.
+ * mac-xdep.c: Likewise.
+ * ser-pipe.c: Likewise.
+ * ser-tcp.c: Likewise.
+ * standalone.c: Likewise.
+ * top.c: Likewise.
+ * utils.c: Likewise.
+ * Makefile.in: Removed signals.h from dependencies.
+
2001-02-05 Christopher Faylor <cgf@cygnus.com>
Change suggested by Dean Luick <luick@cray.com>
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 549f86b..ac10c0b 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -616,7 +616,7 @@ cli_utils_h = $(srcdir)/cli/cli-utils.h
HFILES_NO_SRCDIR = bcache.h buildsym.h call-cmds.h coff-solib.h defs.h \
dst.h environ.h $(gdbcmd_h) gdbcore.h \
gdb-stabs.h hpread.h $(inferior_h) language.h minimon.h monitor.h \
- objfiles.h parser-defs.h partial-stab.h serial.h signals.h solib.h \
+ objfiles.h parser-defs.h partial-stab.h serial.h solib.h \
symfile.h stabsread.h target.h terminal.h typeprint.h xcoffsolib.h \
c-lang.h ch-lang.h f-lang.h \
jv-lang.h \
@@ -1519,7 +1519,7 @@ infcmd.o: infcmd.c $(defs_h) environ.h $(gdbcmd_h) $(gdbcore_h) \
$(inferior_h) target.h language.h symfile.h gdb_string.h
inflow.o: inflow.c $(bfd_h) $(command_h) $(defs_h) $(inferior_h) \
- signals.h target.h terminal.h gdbthread.h gdb_string.h
+ target.h terminal.h gdbthread.h gdb_string.h
infptrace.o: infptrace.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h \
gdb_string.h gdb_wait.h $(command_h)
@@ -1862,13 +1862,13 @@ scm-valprint.o: $(defs_h) $(value_h) parser-defs.h language.h \
ser-go32.o: ser-go32.c $(defs_h) serial.h
-ser-mac.o: ser-mac.c $(defs_h) serial.h signals.h
+ser-mac.o: ser-mac.c $(defs_h) serial.h
-ser-ocd.o: ser-ocd.c $(defs_h) serial.h signals.h gdb_string.h
+ser-ocd.o: ser-ocd.c $(defs_h) serial.h gdb_string.h
-ser-pipe.o: ser-pipe.c $(defs_h) serial.h signals.h gdb_string.h ser-unix.h
+ser-pipe.o: ser-pipe.c $(defs_h) serial.h gdb_string.h ser-unix.h
-ser-tcp.o: ser-tcp.c $(defs_h) serial.h signals.h gdb_string.h ser-unix.h
+ser-tcp.o: ser-tcp.c $(defs_h) serial.h gdb_string.h ser-unix.h
ser-unix.o: ser-unix.c $(defs_h) serial.h ser-unix.h
@@ -1962,7 +1962,7 @@ completer.o: completer.c completer.h $(gdbtypes_h) $(symtab_h) \
$(defs_h) $(gdbcmd_h) $(expression_h) $(readline_headers)
top.o: top.c top.h $(bfd_h) $(getopt_h) $(readline_headers) call-cmds.h \
- $(defs_h) $(gdbcmd_h) $(inferior_h) language.h signals.h \
+ $(defs_h) $(gdbcmd_h) $(inferior_h) language.h \
$(remote_utils_h) gdb_string.h $(event_loop_h) $(event_top_h) \
completer.h $(version_h)
@@ -1977,7 +1977,7 @@ ultra3-xdep.o: ultra3-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
umax-xdep.o: umax-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
utils.o: utils.c $(bfd_h) $(defs_h) $(expression_h) $(gdbcmd_h) \
- language.h signals.h target.h terminal.h $(readline_headers) \
+ language.h target.h terminal.h $(readline_headers) \
gdb_string.h $(event_loop_h) $(event_top_h)
valarith.o: valarith.c $(bfd_h) $(defs_h) $(expression_h) \
diff --git a/gdb/event-top.c b/gdb/event-top.c
index e2c511c..2aa8731 100644
--- a/gdb/event-top.c
+++ b/gdb/event-top.c
@@ -24,9 +24,9 @@
#include "inferior.h"
#include "target.h"
#include "terminal.h" /* for job_control */
-#include "signals.h"
#include "event-loop.h"
#include "event-top.h"
+#include <signal.h>
/* For dont_repeat() */
#include "gdbcmd.h"
diff --git a/gdb/inflow.c b/gdb/inflow.c
index 17bce7f..4f751e8 100644
--- a/gdb/inflow.c
+++ b/gdb/inflow.c
@@ -22,7 +22,6 @@
#include "frame.h"
#include "inferior.h"
#include "command.h"
-#include "signals.h"
#include "serial.h"
#include "terminal.h"
#include "target.h"
diff --git a/gdb/mac-xdep.c b/gdb/mac-xdep.c
index 019c8ba..856591a 100644
--- a/gdb/mac-xdep.c
+++ b/gdb/mac-xdep.c
@@ -72,7 +72,7 @@
#include "call-cmds.h"
#include "symtab.h"
#include "inferior.h"
-#include "signals.h"
+#include <signal.h>
#include "target.h"
#include "breakpoint.h"
#include "gdbtypes.h"
diff --git a/gdb/ser-pipe.c b/gdb/ser-pipe.c
index 96e1556..6690941 100644
--- a/gdb/ser-pipe.c
+++ b/gdb/ser-pipe.c
@@ -32,7 +32,7 @@
#include <fcntl.h>
#include "gdb_string.h"
-#include "signals.h"
+#include <signal.h>
static int pipe_open (serial_t scb, const char *name);
static void pipe_close (serial_t scb);
diff --git a/gdb/ser-tcp.c b/gdb/ser-tcp.c
index 86baf34..06635ee 100644
--- a/gdb/ser-tcp.c
+++ b/gdb/ser-tcp.c
@@ -32,7 +32,7 @@
#include <netinet/tcp.h>
#endif
-#include "signals.h"
+#include <signal.h>
#include "gdb_string.h"
static int tcp_open (serial_t scb, const char *name);
diff --git a/gdb/signals.h b/gdb/signals.h
deleted file mode 100644
index 85b4909..0000000
--- a/gdb/signals.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/* Signal handler definitions for GDB, the GNU Debugger.
- Copyright (C) 1986, 1989 Free Software Foundation, Inc.
-
- This file is part of GDB.
-
- 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
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA. */
-
-
-/* This file is almost the same as including <signal.h> except that it
- eliminates certain signal names when job control is not supported,
- (or, on some systems, when job control is there but doesn't work
- the way GDB expects it to work). */
-/* This has been superceded by the job_control variable in serial.h. */
-
-#include <signal.h>
diff --git a/gdb/standalone.c b/gdb/standalone.c
index 07e062d..64f25bf 100644
--- a/gdb/standalone.c
+++ b/gdb/standalone.c
@@ -30,7 +30,7 @@
#endif /* SIGTSTP and SIGIO defined (must be 4.2) */
#include "defs.h"
-#include "signals.h"
+#include <signal.h>
#include "symtab.h"
#include "frame.h"
#include "inferior.h"
diff --git a/gdb/top.c b/gdb/top.c
index cb1b0ed..4c4603a 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -23,7 +23,7 @@
#include "call-cmds.h"
#include "symtab.h"
#include "inferior.h"
-#include "signals.h"
+#include <signal.h>
#include "target.h"
#include "breakpoint.h"
#include "gdbtypes.h"
diff --git a/gdb/utils.c b/gdb/utils.c
index 98bee73..0d89cb7 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -40,7 +40,7 @@
#undef reg
#endif
-#include "signals.h"
+#include <signal.h>
#include "gdbcmd.h"
#include "serial.h"
#include "bfd.h"