From 042be3a9b371fa129c5d1e8f02ea0ad9e3588c63 Mon Sep 17 00:00:00 2001 From: "J.T. Conklin" Date: Tue, 6 Feb 2001 04:17:03 +0000 Subject: [PATCH] * signals.h: Removed. * event-top.c (#include ): 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. --- gdb/ChangeLog | 13 +++++++++++++ gdb/Makefile.in | 16 ++++++++-------- gdb/event-top.c | 2 +- gdb/inflow.c | 1 - gdb/mac-xdep.c | 2 +- gdb/ser-pipe.c | 2 +- gdb/ser-tcp.c | 2 +- gdb/signals.h | 28 ---------------------------- gdb/standalone.c | 2 +- gdb/top.c | 2 +- gdb/utils.c | 2 +- 11 files changed, 28 insertions(+), 44 deletions(-) delete mode 100644 gdb/signals.h diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7f9bfe29e69..4dc7bd687c3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,16 @@ +2001-02-05 J.T. Conklin + + * signals.h: Removed. + * event-top.c (#include ): 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 Change suggested by Dean Luick diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 549f86bf11a..ac10c0b7638 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 e2c511c1a86..2aa8731d4d5 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 /* For dont_repeat() */ #include "gdbcmd.h" diff --git a/gdb/inflow.c b/gdb/inflow.c index 17bce7fd0f3..4f751e8bed9 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 019c8ba4552..856591a949c 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 #include "target.h" #include "breakpoint.h" #include "gdbtypes.h" diff --git a/gdb/ser-pipe.c b/gdb/ser-pipe.c index 96e1556e8cf..66909411658 100644 --- a/gdb/ser-pipe.c +++ b/gdb/ser-pipe.c @@ -32,7 +32,7 @@ #include #include "gdb_string.h" -#include "signals.h" +#include 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 86baf349108..06635ee8403 100644 --- a/gdb/ser-tcp.c +++ b/gdb/ser-tcp.c @@ -32,7 +32,7 @@ #include #endif -#include "signals.h" +#include #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 85b4909df47..00000000000 --- 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 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 diff --git a/gdb/standalone.c b/gdb/standalone.c index 07e062d7d70..64f25bf1c12 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 #include "symtab.h" #include "frame.h" #include "inferior.h" diff --git a/gdb/top.c b/gdb/top.c index cb1b0edb0d0..4c4603ab94a 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 #include "target.h" #include "breakpoint.h" #include "gdbtypes.h" diff --git a/gdb/utils.c b/gdb/utils.c index 98bee73e088..0d89cb7b561 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -40,7 +40,7 @@ #undef reg #endif -#include "signals.h" +#include #include "gdbcmd.h" #include "serial.h" #include "bfd.h" -- 2.30.2