aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
Diffstat (limited to 'sim')
-rw-r--r--sim/aarch64/ChangeLog5
-rw-r--r--sim/aarch64/cpustate.c1
-rw-r--r--sim/aarch64/memory.c1
-rw-r--r--sim/aarch64/simulator.c2
-rw-r--r--sim/avr/ChangeLog4
-rw-r--r--sim/avr/interp.c1
-rw-r--r--sim/bfin/ChangeLog5
-rw-r--r--sim/bfin/dv-bfin_cec.c1
-rw-r--r--sim/bfin/sim-main.h1
-rw-r--r--sim/bpf/ChangeLog4
-rw-r--r--sim/bpf/bpf.c1
-rw-r--r--sim/common/ChangeLog7
-rw-r--r--sim/common/cgen-run.c1
-rw-r--r--sim/common/cgen-utils.c1
-rw-r--r--sim/common/nrun.c1
-rw-r--r--sim/common/sim-basics.h1
-rw-r--r--sim/common/sim-core.c1
-rw-r--r--sim/common/sim-engine.c1
-rw-r--r--sim/common/sim-reason.c1
-rw-r--r--sim/common/sim-resume.c1
-rw-r--r--sim/common/sim-signal.c1
-rw-r--r--sim/common/sim-stop.c1
-rw-r--r--sim/common/sim-watch.c1
-rw-r--r--sim/cr16/ChangeLog5
-rw-r--r--sim/cr16/interp.c1
-rw-r--r--sim/cr16/simops.c1
-rw-r--r--sim/cris/ChangeLog4
-rw-r--r--sim/cris/traps.c1
-rw-r--r--sim/d10v/ChangeLog5
-rw-r--r--sim/d10v/interp.c1
-rw-r--r--sim/d10v/simops.c1
-rw-r--r--sim/example-synacor/ChangeLog4
-rw-r--r--sim/example-synacor/sim-main.c1
-rw-r--r--sim/frv/ChangeLog5
-rw-r--r--sim/frv/interrupts.c1
-rw-r--r--sim/frv/traps.c1
-rw-r--r--sim/ft32/ChangeLog4
-rw-r--r--sim/ft32/interp.c1
-rw-r--r--sim/h8300/ChangeLog4
-rw-r--r--sim/h8300/compile.c1
-rw-r--r--sim/iq2000/ChangeLog4
-rw-r--r--sim/iq2000/iq2000.c1
-rw-r--r--sim/lm32/ChangeLog4
-rw-r--r--sim/lm32/traps.c1
-rw-r--r--sim/m32r/ChangeLog5
-rw-r--r--sim/m32r/traps-linux.c1
-rw-r--r--sim/m32r/traps.c1
-rw-r--r--sim/m68hc11/ChangeLog6
-rw-r--r--sim/m68hc11/dv-m68hc11eepr.c1
-rw-r--r--sim/m68hc11/interrupts.c1
-rw-r--r--sim/m68hc11/m68hc11_sim.c1
-rw-r--r--sim/m68hc11/sim-main.h2
-rw-r--r--sim/mcore/ChangeLog4
-rw-r--r--sim/mcore/interp.c1
-rw-r--r--sim/microblaze/ChangeLog4
-rw-r--r--sim/microblaze/interp.c1
-rw-r--r--sim/mips/ChangeLog4
-rw-r--r--sim/mips/interp.c1
-rw-r--r--sim/mn10300/ChangeLog6
-rw-r--r--sim/mn10300/interp.c1
-rw-r--r--sim/mn10300/mn10300_sim.h1
-rw-r--r--sim/mn10300/op_utils.c1
-rw-r--r--sim/mn10300/sim-main.h1
-rw-r--r--sim/moxie/ChangeLog4
-rw-r--r--sim/moxie/interp.c1
-rw-r--r--sim/msp430/ChangeLog5
-rw-r--r--sim/msp430/msp430-sim.c1
-rw-r--r--sim/msp430/sim-main.h1
-rw-r--r--sim/or1k/ChangeLog4
-rw-r--r--sim/or1k/traps.c1
-rw-r--r--sim/ppc/ChangeLog4
-rw-r--r--sim/ppc/sim-main.h1
-rw-r--r--sim/pru/ChangeLog4
-rw-r--r--sim/pru/interp.c1
-rw-r--r--sim/riscv/ChangeLog4
-rw-r--r--sim/riscv/sim-main.c1
-rw-r--r--sim/v850/ChangeLog4
-rw-r--r--sim/v850/simops.c1
78 files changed, 169 insertions, 6 deletions
diff --git a/sim/aarch64/ChangeLog b/sim/aarch64/ChangeLog
index a522fcf..f5d1990 100644
--- a/sim/aarch64/ChangeLog
+++ b/sim/aarch64/ChangeLog
@@ -1,3 +1,8 @@
+2021-06-18 Mike Frysinger <vapier@gentoo.org>
+
+ * cpustate.c: Include sim-signal.h.
+ * memory.c, simulator.c: Likewise.
+
2021-06-17 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
diff --git a/sim/aarch64/cpustate.c b/sim/aarch64/cpustate.c
index 6007d74..45a0862 100644
--- a/sim/aarch64/cpustate.c
+++ b/sim/aarch64/cpustate.c
@@ -26,6 +26,7 @@
#include <math.h>
#include "sim-main.h"
+#include "sim-signal.h"
#include "cpustate.h"
#include "simulator.h"
#include "libiberty.h"
diff --git a/sim/aarch64/memory.c b/sim/aarch64/memory.c
index 22caf61..cd2df33 100644
--- a/sim/aarch64/memory.c
+++ b/sim/aarch64/memory.c
@@ -33,6 +33,7 @@
#include "simulator.h"
#include "sim-core.h"
+#include "sim-signal.h"
static inline void
mem_error (sim_cpu *cpu, const char *message, uint64_t addr)
diff --git a/sim/aarch64/simulator.c b/sim/aarch64/simulator.c
index be1c298..0970ace 100644
--- a/sim/aarch64/simulator.c
+++ b/sim/aarch64/simulator.c
@@ -34,6 +34,8 @@
#include "cpustate.h"
#include "memory.h"
+#include "sim-signal.h"
+
#define NO_SP 0
#define SP_OK 1
diff --git a/sim/avr/ChangeLog b/sim/avr/ChangeLog
index 156e7f2..6fa075c 100644
--- a/sim/avr/ChangeLog
+++ b/sim/avr/ChangeLog
@@ -1,3 +1,7 @@
+2021-06-18 Mike Frysinger <vapier@gentoo.org>
+
+ * interp.c: Include sim-signal.h.
+
2021-06-17 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
diff --git a/sim/avr/interp.c b/sim/avr/interp.c
index 2bd7273..df7177e 100644
--- a/sim/avr/interp.c
+++ b/sim/avr/interp.c
@@ -29,6 +29,7 @@
#include "sim-main.h"
#include "sim-base.h"
#include "sim-options.h"
+#include "sim-signal.h"
/* As AVR is a 8/16 bits processor, define handy types. */
typedef unsigned short int word;
diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog
index fa97d8e..1e83b2b 100644
--- a/sim/bfin/ChangeLog
+++ b/sim/bfin/ChangeLog
@@ -1,3 +1,8 @@
+2021-06-18 Mike Frysinger <vapier@gentoo.org>
+
+ * dv-bfin_cec.c: Include sim-signal.h.
+ * sim-main.h: Delete sim-signal.h include.
+
2021-06-17 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
diff --git a/sim/bfin/dv-bfin_cec.c b/sim/bfin/dv-bfin_cec.c
index e80616d..7ad3ea0 100644
--- a/sim/bfin/dv-bfin_cec.c
+++ b/sim/bfin/dv-bfin_cec.c
@@ -24,6 +24,7 @@
#include <strings.h>
#include "sim-main.h"
+#include "sim-signal.h"
#include "devices.h"
#include "dv-bfin_cec.h"
#include "dv-bfin_evt.h"
diff --git a/sim/bfin/sim-main.h b/sim/bfin/sim-main.h
index 18d0a00..0e5d185 100644
--- a/sim/bfin/sim-main.h
+++ b/sim/bfin/sim-main.h
@@ -22,7 +22,6 @@
#define _BFIN_MAIN_SIM_H_
#include "sim-basics.h"
-#include "sim-signal.h"
#include "arch.h"
#include "sim-base.h"
diff --git a/sim/bpf/ChangeLog b/sim/bpf/ChangeLog
index 5e2b222..fd12bbf 100644
--- a/sim/bpf/ChangeLog
+++ b/sim/bpf/ChangeLog
@@ -1,3 +1,7 @@
+2021-06-18 Mike Frysinger <vapier@gentoo.org>
+
+ * bpf.c: Include sim-signal.h.
+
2021-06-17 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
diff --git a/sim/bpf/bpf.c b/sim/bpf/bpf.c
index f9cdb82..9e78960 100644
--- a/sim/bpf/bpf.c
+++ b/sim/bpf/bpf.c
@@ -24,6 +24,7 @@
#include "sim-main.h"
#include "sim-fpu.h"
+#include "sim-signal.h"
#include "cgen-mem.h"
#include "cgen-ops.h"
#include "cpuall.h"
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 682696c..61da7e9 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,5 +1,12 @@
2021-06-18 Mike Frysinger <vapier@gentoo.org>
+ * cgen-run.c: Include sim-signal.h.
+ * cgen-utils.c, nrun.c, sim-core.c, sim-engine.c, sim-reason.c,
+ sim-resume.c, sim-signal.c, sim-stop.c, sim-watch.c: Likewise.
+ * sim-basics.h: Delete sim-signal.h include.
+
+2021-06-18 Mike Frysinger <vapier@gentoo.org>
+
* sim-basics.h: Delete libiberty.h include.
2021-06-17 Mike Frysinger <vapier@gentoo.org>
diff --git a/sim/common/cgen-run.c b/sim/common/cgen-run.c
index 9420942..1b097e1 100644
--- a/sim/common/cgen-run.c
+++ b/sim/common/cgen-run.c
@@ -38,6 +38,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "sim-main.h"
#include "sim-assert.h"
+#include "sim-signal.h"
#ifndef SIM_ENGINE_PREFIX_HOOK
#define SIM_ENGINE_PREFIX_HOOK(sd)
diff --git a/sim/common/cgen-utils.c b/sim/common/cgen-utils.c
index 1310790..529d80d 100644
--- a/sim/common/cgen-utils.c
+++ b/sim/common/cgen-utils.c
@@ -22,6 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "bfd.h"
#include "sim-main.h"
+#include "sim-signal.h"
#include "dis-asm.h"
#define MEMOPS_DEFINE_INLINE
diff --git a/sim/common/nrun.c b/sim/common/nrun.c
index ba293d1..3fd7834 100644
--- a/sim/common/nrun.c
+++ b/sim/common/nrun.c
@@ -23,6 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include <string.h>
#include "sim-main.h"
+#include "sim-signal.h"
#include "sim/callback.h"
#include "bfd.h"
diff --git a/sim/common/sim-basics.h b/sim/common/sim-basics.h
index a3dd5d9..32995a8 100644
--- a/sim/common/sim-basics.h
+++ b/sim/common/sim-basics.h
@@ -121,7 +121,6 @@ typedef enum {
#include "sim-types.h"
#include "sim-bits.h"
#include "sim-endian.h"
-#include "sim-signal.h"
#include "sim-utils.h"
diff --git a/sim/common/sim-core.c b/sim/common/sim-core.c
index 6604f31..2c568dc 100644
--- a/sim/common/sim-core.c
+++ b/sim/common/sim-core.c
@@ -28,6 +28,7 @@
#include "sim-main.h"
#include "sim-assert.h"
+#include "sim-signal.h"
#include "libiberty.h"
#if (WITH_HW)
diff --git a/sim/common/sim-engine.c b/sim/common/sim-engine.c
index a5f84af..83f41f0 100644
--- a/sim/common/sim-engine.c
+++ b/sim/common/sim-engine.c
@@ -22,6 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "sim-main.h"
#include "sim-assert.h"
+#include "sim-signal.h"
#include <stdio.h>
#include <stdlib.h>
diff --git a/sim/common/sim-reason.c b/sim/common/sim-reason.c
index 73a5765..fa36837 100644
--- a/sim/common/sim-reason.c
+++ b/sim/common/sim-reason.c
@@ -22,6 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "sim-main.h"
#include "sim-assert.h"
+#include "sim-signal.h"
#include <stdlib.h>
diff --git a/sim/common/sim-resume.c b/sim/common/sim-resume.c
index 8f854da..93b198a 100644
--- a/sim/common/sim-resume.c
+++ b/sim/common/sim-resume.c
@@ -22,6 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "sim-main.h"
#include "sim-assert.h"
+#include "sim-signal.h"
/* Halt the simulator after just one instruction */
diff --git a/sim/common/sim-signal.c b/sim/common/sim-signal.c
index f9fef4c..d518604 100644
--- a/sim/common/sim-signal.c
+++ b/sim/common/sim-signal.c
@@ -22,6 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include <signal.h>
#include "sim-main.h"
+#include "sim-signal.h"
/* Convert SIM_SIGFOO to SIGFOO.
What to do when the host doesn't have SIGFOO is handled on a case by case
diff --git a/sim/common/sim-stop.c b/sim/common/sim-stop.c
index aa48fc3..076d43d 100644
--- a/sim/common/sim-stop.c
+++ b/sim/common/sim-stop.c
@@ -22,6 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "sim-main.h"
#include "sim-assert.h"
+#include "sim-signal.h"
/* Generic implementation of sim_stop. */
diff --git a/sim/common/sim-watch.c b/sim/common/sim-watch.c
index fa035b3..bc6c44b 100644
--- a/sim/common/sim-watch.c
+++ b/sim/common/sim-watch.c
@@ -22,6 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "sim-main.h"
#include "sim-options.h"
+#include "sim-signal.h"
#include "libiberty.h"
#include "sim-assert.h"
diff --git a/sim/cr16/ChangeLog b/sim/cr16/ChangeLog
index dc4c1e8..b79d031 100644
--- a/sim/cr16/ChangeLog
+++ b/sim/cr16/ChangeLog
@@ -1,3 +1,8 @@
+2021-06-18 Mike Frysinger <vapier@gentoo.org>
+
+ * interp.c: Include sim-signal.h.
+ * simops.c: Likewise.
+
2021-06-17 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
diff --git a/sim/cr16/interp.c b/sim/cr16/interp.c
index 6e3438c..e2aef01 100644
--- a/sim/cr16/interp.c
+++ b/sim/cr16/interp.c
@@ -30,6 +30,7 @@
#include "sim-main.h"
#include "sim-options.h"
+#include "sim-signal.h"
#include "gdb/sim-cr16.h"
#include "gdb/signals.h"
diff --git a/sim/cr16/simops.c b/sim/cr16/simops.c
index b383dfa..afd870e 100644
--- a/sim/cr16/simops.c
+++ b/sim/cr16/simops.c
@@ -32,6 +32,7 @@
#include <sys/time.h>
#include "sim-main.h"
+#include "sim-signal.h"
#include "simops.h"
#include "targ-vals.h"
diff --git a/sim/cris/ChangeLog b/sim/cris/ChangeLog
index 61d064c..a69349a 100644
--- a/sim/cris/ChangeLog
+++ b/sim/cris/ChangeLog
@@ -1,3 +1,7 @@
+2021-06-18 Mike Frysinger <vapier@gentoo.org>
+
+ * traps.c: Include sim-signal.h.
+
2021-06-17 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
diff --git a/sim/cris/traps.c b/sim/cris/traps.c
index 2ad4081..130a380 100644
--- a/sim/cris/traps.c
+++ b/sim/cris/traps.c
@@ -24,6 +24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "sim-main.h"
#include "sim-syscall.h"
#include "sim-options.h"
+#include "sim-signal.h"
#include "sim/callback.h"
#include "bfd.h"
/* FIXME: get rid of targ-vals.h usage everywhere else. */
diff --git a/sim/d10v/ChangeLog b/sim/d10v/ChangeLog
index d588176..429b4d0 100644
--- a/sim/d10v/ChangeLog
+++ b/sim/d10v/ChangeLog
@@ -1,3 +1,8 @@
+2021-06-18 Mike Frysinger <vapier@gentoo.org>
+
+ * interp.c: Include sim-signal.h.
+ * simops.c: Likewise.
+
2021-06-17 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
diff --git a/sim/d10v/interp.c b/sim/d10v/interp.c
index c0cdc03..c48e39a 100644
--- a/sim/d10v/interp.c
+++ b/sim/d10v/interp.c
@@ -9,6 +9,7 @@
#include "sim-main.h"
#include "sim-options.h"
+#include "sim-signal.h"
#include "gdb/sim-d10v.h"
#include "gdb/signals.h"
diff --git a/sim/d10v/simops.c b/sim/d10v/simops.c
index af725ad..64c888c 100644
--- a/sim/d10v/simops.c
+++ b/sim/d10v/simops.c
@@ -11,6 +11,7 @@
#include <string.h>
#include "sim-main.h"
+#include "sim-signal.h"
#include "simops.h"
#include "targ-vals.h"
diff --git a/sim/example-synacor/ChangeLog b/sim/example-synacor/ChangeLog
index 4f2c8c5..a55ed0f 100644
--- a/sim/example-synacor/ChangeLog
+++ b/sim/example-synacor/ChangeLog
@@ -1,3 +1,7 @@
+2021-06-18 Mike Frysinger <vapier@gentoo.org>
+
+ * sim-main.c: Include sim-signal.h.
+
2021-06-17 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
diff --git a/sim/example-synacor/sim-main.c b/sim/example-synacor/sim-main.c
index d7a68b3..ccefe1b 100644
--- a/sim/example-synacor/sim-main.c
+++ b/sim/example-synacor/sim-main.c
@@ -25,6 +25,7 @@
#include "defs.h"
#include "sim-main.h"
+#include "sim-signal.h"
/* Get the register number from the number. */
static unsigned16
diff --git a/sim/frv/ChangeLog b/sim/frv/ChangeLog
index 264d33e..16bbf48 100644
--- a/sim/frv/ChangeLog
+++ b/sim/frv/ChangeLog
@@ -1,3 +1,8 @@
+2021-06-18 Mike Frysinger <vapier@gentoo.org>
+
+ * interrupts.c: Include sim-signal.h.
+ * traps.c: Likewise.
+
2021-06-17 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
diff --git a/sim/frv/interrupts.c b/sim/frv/interrupts.c
index a657c68..99b27cf 100644
--- a/sim/frv/interrupts.c
+++ b/sim/frv/interrupts.c
@@ -24,6 +24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#define WANT_CPU_FRVBF
#include "sim-main.h"
+#include "sim-signal.h"
#include "bfd.h"
#include <stdlib.h>
diff --git a/sim/frv/traps.c b/sim/frv/traps.c
index 91b424f..46cb8d9 100644
--- a/sim/frv/traps.c
+++ b/sim/frv/traps.c
@@ -28,6 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "cgen-engine.h"
#include "cgen-par.h"
#include "sim-fpu.h"
+#include "sim-signal.h"
#include "sim/callback.h"
#include "bfd.h"
diff --git a/sim/ft32/ChangeLog b/sim/ft32/ChangeLog
index bb7ea80..19ffbad 100644
--- a/sim/ft32/ChangeLog
+++ b/sim/ft32/ChangeLog
@@ -1,3 +1,7 @@
+2021-06-18 Mike Frysinger <vapier@gentoo.org>
+
+ * interp.c: Include sim-signal.h.
+
2021-06-17 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
diff --git a/sim/ft32/interp.c b/sim/ft32/interp.c
index 77ed8f8..7da6ecd 100644
--- a/sim/ft32/interp.c
+++ b/sim/ft32/interp.c
@@ -33,6 +33,7 @@
#include "sim-main.h"
#include "sim-options.h"
+#include "sim-signal.h"
#include "opcode/ft32.h"
diff --git a/sim/h8300/ChangeLog b/sim/h8300/ChangeLog
index 57ada18..72e2926 100644
--- a/sim/h8300/ChangeLog
+++ b/sim/h8300/ChangeLog
@@ -1,3 +1,7 @@
+2021-06-18 Mike Frysinger <vapier@gentoo.org>
+
+ * compile.c: Include sim-signal.h.
+
2021-06-17 Mike Frysinger <vapier@gentoo.org>
* compile.c (sim_open): Set current_target_byte_order.
diff --git a/sim/h8300/compile.c b/sim/h8300/compile.c
index 565eadf..1f3316e 100644
--- a/sim/h8300/compile.c
+++ b/sim/h8300/compile.c
@@ -33,6 +33,7 @@
#include "sys/stat.h"
#include "sys/types.h"
#include "sim-options.h"
+#include "sim-signal.h"
#include "sim/callback.h"
#ifndef SIGTRAP
diff --git a/sim/iq2000/ChangeLog b/sim/iq2000/ChangeLog
index 63797de..5318570 100644
--- a/sim/iq2000/ChangeLog
+++ b/sim/iq2000/ChangeLog
@@ -1,3 +1,7 @@
+2021-06-18 Mike Frysinger <vapier@gentoo.org>
+
+ * iq2000.c: Include sim-signal.h.
+
2021-06-17 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
diff --git a/sim/iq2000/iq2000.c b/sim/iq2000/iq2000.c
index 018c6a6..362cc4a 100644
--- a/sim/iq2000/iq2000.c
+++ b/sim/iq2000/iq2000.c
@@ -24,6 +24,7 @@
#define WANT_CPU_IQ2000BF
#include "sim-main.h"
+#include "sim-signal.h"
#include "cgen-mem.h"
#include "cgen-ops.h"
#include "targ-vals.h"
diff --git a/sim/lm32/ChangeLog b/sim/lm32/ChangeLog
index 57cbf65..7aee807 100644
--- a/sim/lm32/ChangeLog
+++ b/sim/lm32/ChangeLog
@@ -1,3 +1,7 @@
+2021-06-18 Mike Frysinger <vapier@gentoo.org>
+
+ * traps.c: Include sim-signal.h.
+
2021-06-17 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
diff --git a/sim/lm32/traps.c b/sim/lm32/traps.c
index 5b010f9..77b4acc 100644
--- a/sim/lm32/traps.c
+++ b/sim/lm32/traps.c
@@ -25,6 +25,7 @@
#define WANT_CPU_LM32BF
#include "sim-main.h"
+#include "sim-signal.h"
#include "sim-syscall.h"
#include "lm32-sim.h"
#include "targ-vals.h"
diff --git a/sim/m32r/ChangeLog b/sim/m32r/ChangeLog
index 9ff4abc..f660050 100644
--- a/sim/m32r/ChangeLog
+++ b/sim/m32r/ChangeLog
@@ -1,3 +1,8 @@
+2021-06-18 Mike Frysinger <vapier@gentoo.org>
+
+ * traps-linux.c: Include sim-signal.h.
+ * traps.c:
+
2021-06-17 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
diff --git a/sim/m32r/traps-linux.c b/sim/m32r/traps-linux.c
index 1e3a084..8ff0465 100644
--- a/sim/m32r/traps-linux.c
+++ b/sim/m32r/traps-linux.c
@@ -22,6 +22,7 @@
#include "portability.h"
#include "sim-main.h"
+#include "sim-signal.h"
#include "sim-syscall.h"
#include "syscall.h"
#include "targ-vals.h"
diff --git a/sim/m32r/traps.c b/sim/m32r/traps.c
index ffa09f1..4cec5c0 100644
--- a/sim/m32r/traps.c
+++ b/sim/m32r/traps.c
@@ -21,6 +21,7 @@
#include "defs.h"
#include "sim-main.h"
+#include "sim-signal.h"
#include "sim-syscall.h"
#include "targ-vals.h"
#include <stdlib.h>
diff --git a/sim/m68hc11/ChangeLog b/sim/m68hc11/ChangeLog
index 3b87798..dd9ccce 100644
--- a/sim/m68hc11/ChangeLog
+++ b/sim/m68hc11/ChangeLog
@@ -1,3 +1,9 @@
+2021-06-18 Mike Frysinger <vapier@gentoo.org>
+
+ * dv-m68hc11eepr.c: Include sim-signal.h.
+ * interrupts.c, m68hc11_sim.c: Likewise.
+ * sim-main.h: Delete sim-signal.h include.
+
2021-06-17 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
diff --git a/sim/m68hc11/dv-m68hc11eepr.c b/sim/m68hc11/dv-m68hc11eepr.c
index 1e4cb5e..ac67bf9 100644
--- a/sim/m68hc11/dv-m68hc11eepr.c
+++ b/sim/m68hc11/dv-m68hc11eepr.c
@@ -25,6 +25,7 @@
#include "hw-main.h"
#include "sim-assert.h"
#include "sim-events.h"
+#include "sim-signal.h"
#include <unistd.h>
#include <fcntl.h>
diff --git a/sim/m68hc11/interrupts.c b/sim/m68hc11/interrupts.c
index 1adce50..e6a9d73 100644
--- a/sim/m68hc11/interrupts.c
+++ b/sim/m68hc11/interrupts.c
@@ -22,6 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "sim-main.h"
#include "sim-options.h"
+#include "sim-signal.h"
static const char *interrupt_names[] = {
"R1",
diff --git a/sim/m68hc11/m68hc11_sim.c b/sim/m68hc11/m68hc11_sim.c
index 3c619c1..bdf69e2 100644
--- a/sim/m68hc11/m68hc11_sim.c
+++ b/sim/m68hc11/m68hc11_sim.c
@@ -24,6 +24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "sim-assert.h"
#include "sim-module.h"
#include "sim-options.h"
+#include "sim-signal.h"
#include <stdlib.h>
diff --git a/sim/m68hc11/sim-main.h b/sim/m68hc11/sim-main.h
index 18a7426..a48d7f4 100644
--- a/sim/m68hc11/sim-main.h
+++ b/sim/m68hc11/sim-main.h
@@ -21,7 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#define _SIM_MAIN_H
#include "sim-basics.h"
-#include "sim-signal.h"
#include "sim-base.h"
#include "bfd.h"
@@ -30,6 +29,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "sim/sim.h"
#include "opcode/m68hc11.h"
+#include "sim-signal.h"
#include "sim-types.h"
typedef unsigned8 uint8;
diff --git a/sim/mcore/ChangeLog b/sim/mcore/ChangeLog
index cf7d270..3757d29 100644
--- a/sim/mcore/ChangeLog
+++ b/sim/mcore/ChangeLog
@@ -1,3 +1,7 @@
+2021-06-18 Mike Frysinger <vapier@gentoo.org>
+
+ * interp.c: Include sim-signal.h.
+
2021-06-17 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
diff --git a/sim/mcore/interp.c b/sim/mcore/interp.c
index 3517068..138dccc 100644
--- a/sim/mcore/interp.c
+++ b/sim/mcore/interp.c
@@ -32,6 +32,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "sim-main.h"
#include "sim-base.h"
+#include "sim-signal.h"
#include "sim-syscall.h"
#include "sim-options.h"
diff --git a/sim/microblaze/ChangeLog b/sim/microblaze/ChangeLog
index 5d0224b..abeac71 100644
--- a/sim/microblaze/ChangeLog
+++ b/sim/microblaze/ChangeLog
@@ -1,3 +1,7 @@
+2021-06-18 Mike Frysinger <vapier@gentoo.org>
+
+ * interp.c: Include sim-signal.h.
+
2021-06-17 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
diff --git a/sim/microblaze/interp.c b/sim/microblaze/interp.c
index e451f2d..94f50f1 100644
--- a/sim/microblaze/interp.c
+++ b/sim/microblaze/interp.c
@@ -30,6 +30,7 @@
#include "sim-main.h"
#include "sim-options.h"
+#include "sim-signal.h"
#include "sim-syscall.h"
#include "microblaze-dis.h"
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog
index 05d6461..2ad72ef 100644
--- a/sim/mips/ChangeLog
+++ b/sim/mips/ChangeLog
@@ -1,3 +1,7 @@
+2021-06-18 Mike Frysinger <vapier@gentoo.org>
+
+ * interp.c: Include sim-signal.h.
+
2021-06-17 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
diff --git a/sim/mips/interp.c b/sim/mips/interp.c
index a6f504a..4ab908d 100644
--- a/sim/mips/interp.c
+++ b/sim/mips/interp.c
@@ -31,6 +31,7 @@ code on the hardware.
#include "sim-options.h"
#include "sim-assert.h"
#include "sim-hw.h"
+#include "sim-signal.h"
#include "itable.h"
diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog
index 6f6dced..6bdb23e 100644
--- a/sim/mn10300/ChangeLog
+++ b/sim/mn10300/ChangeLog
@@ -1,3 +1,9 @@
+2021-06-18 Mike Frysinger <vapier@gentoo.org>
+
+ * interp.c: Include sim-signal.h.
+ * op_utils.c, sim-main.h: Likewise.
+ * mn10300_sim.h: Delete sim-signal.h include.
+
2021-06-17 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
diff --git a/sim/mn10300/interp.c b/sim/mn10300/interp.c
index b793d3c..f16a756 100644
--- a/sim/mn10300/interp.c
+++ b/sim/mn10300/interp.c
@@ -9,6 +9,7 @@
#include "bfd.h"
#include "sim-assert.h"
+#include "sim-signal.h"
#include <stdlib.h>
#include <string.h>
diff --git a/sim/mn10300/mn10300_sim.h b/sim/mn10300/mn10300_sim.h
index 1f696d5..f3e43a7 100644
--- a/sim/mn10300/mn10300_sim.h
+++ b/sim/mn10300/mn10300_sim.h
@@ -7,6 +7,7 @@
#include "sim/sim.h"
#include "bfd.h"
#include "sim-fpu.h"
+#include "sim-signal.h"
extern SIM_DESC simulator;
diff --git a/sim/mn10300/op_utils.c b/sim/mn10300/op_utils.c
index cd0f1a6..df95be3 100644
--- a/sim/mn10300/op_utils.c
+++ b/sim/mn10300/op_utils.c
@@ -2,6 +2,7 @@
#include "defs.h"
#include "sim-main.h"
+#include "sim-signal.h"
#include "sim-syscall.h"
#include "targ-vals.h"
diff --git a/sim/mn10300/sim-main.h b/sim/mn10300/sim-main.h
index 8750729..101586e 100644
--- a/sim/mn10300/sim-main.h
+++ b/sim/mn10300/sim-main.h
@@ -25,7 +25,6 @@
#define SIM_ENGINE_HALT_HOOK(SD,LAST_CPU,CIA) /* disable this hook */
#include "sim-basics.h"
-#include "sim-signal.h"
#include <signal.h> /* For kill() in insns:do_trap */
diff --git a/sim/moxie/ChangeLog b/sim/moxie/ChangeLog
index a0f5ccc..66f7b61 100644
--- a/sim/moxie/ChangeLog
+++ b/sim/moxie/ChangeLog
@@ -1,3 +1,7 @@
+2021-06-18 Mike Frysinger <vapier@gentoo.org>
+
+ * interp.c: Include sim-signal.h.
+
2021-06-17 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
diff --git a/sim/moxie/interp.c b/sim/moxie/interp.c
index c70215f..447f52e 100644
--- a/sim/moxie/interp.c
+++ b/sim/moxie/interp.c
@@ -34,6 +34,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "sim-base.h"
#include "sim-options.h"
#include "sim-io.h"
+#include "sim-signal.h"
#include "targ-vals.h"
typedef int word;
diff --git a/sim/msp430/ChangeLog b/sim/msp430/ChangeLog
index a78d476..0874398 100644
--- a/sim/msp430/ChangeLog
+++ b/sim/msp430/ChangeLog
@@ -1,3 +1,8 @@
+2021-06-18 Mike Frysinger <vapier@gentoo.org>
+
+ * msp430-sim.c: Include sim-signal.h.
+ * sim-main.h: Delete sim-signal.h include.
+
2021-06-17 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
diff --git a/sim/msp430/msp430-sim.c b/sim/msp430/msp430-sim.c
index ed03933..c9bb9c7 100644
--- a/sim/msp430/msp430-sim.c
+++ b/sim/msp430/msp430-sim.c
@@ -30,6 +30,7 @@
#include <assert.h>
#include "opcode/msp430-decode.h"
#include "sim-main.h"
+#include "sim-signal.h"
#include "sim-syscall.h"
#include "targ-vals.h"
diff --git a/sim/msp430/sim-main.h b/sim/msp430/sim-main.h
index fdfa5d0..6891004 100644
--- a/sim/msp430/sim-main.h
+++ b/sim/msp430/sim-main.h
@@ -22,7 +22,6 @@
#define _MSP430_MAIN_SIM_H_
#include "sim-basics.h"
-#include "sim-signal.h"
#include "msp430-sim.h"
#include "sim-base.h"
diff --git a/sim/or1k/ChangeLog b/sim/or1k/ChangeLog
index 4140fd6..33799ac 100644
--- a/sim/or1k/ChangeLog
+++ b/sim/or1k/ChangeLog
@@ -1,3 +1,7 @@
+2021-06-18 Mike Frysinger <vapier@gentoo.org>
+
+ * traps.c: Include sim-signal.h.
+
2021-06-17 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
diff --git a/sim/or1k/traps.c b/sim/or1k/traps.c
index bb428fa..91f0d2b 100644
--- a/sim/or1k/traps.c
+++ b/sim/or1k/traps.c
@@ -23,6 +23,7 @@
#define WANT_CPU
#include "sim-main.h"
+#include "sim-signal.h"
#include "cgen-ops.h"
/* Implement the sim invalid instruction function. This will set the error
diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog
index fc3f62f..6f2531f 100644
--- a/sim/ppc/ChangeLog
+++ b/sim/ppc/ChangeLog
@@ -1,3 +1,7 @@
+2021-06-18 Mike Frysinger <vapier@gentoo.org>
+
+ * sim-main.h: Delete sim-signal.h include.
+
2021-06-17 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (ENDIAN_CFLAGS): Delete.
diff --git a/sim/ppc/sim-main.h b/sim/ppc/sim-main.h
index 1e565c1..047b36c 100644
--- a/sim/ppc/sim-main.h
+++ b/sim/ppc/sim-main.h
@@ -1,5 +1,4 @@
#include "sim-basics.h"
-#include "sim-signal.h"
typedef unsigned32 sim_cia;
diff --git a/sim/pru/ChangeLog b/sim/pru/ChangeLog
index 81033cf..6e06c73 100644
--- a/sim/pru/ChangeLog
+++ b/sim/pru/ChangeLog
@@ -1,3 +1,7 @@
+2021-06-18 Mike Frysinger <vapier@gentoo.org>
+
+ * interp.c: Include sim-signal.h.
+
2021-06-17 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
diff --git a/sim/pru/interp.c b/sim/pru/interp.c
index 09045dc..fc8bbe5 100644
--- a/sim/pru/interp.c
+++ b/sim/pru/interp.c
@@ -31,6 +31,7 @@
#include "sim-main.h"
#include "sim-assert.h"
#include "sim-options.h"
+#include "sim-signal.h"
#include "sim-syscall.h"
#include "pru.h"
diff --git a/sim/riscv/ChangeLog b/sim/riscv/ChangeLog
index 5c7973f..925fa0c 100644
--- a/sim/riscv/ChangeLog
+++ b/sim/riscv/ChangeLog
@@ -1,3 +1,7 @@
+2021-06-18 Mike Frysinger <vapier@gentoo.org>
+
+ * sim-main.c: Include sim-signal.h.
+
2021-06-17 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
diff --git a/sim/riscv/sim-main.c b/sim/riscv/sim-main.c
index a09ae03..0faf939 100644
--- a/sim/riscv/sim-main.c
+++ b/sim/riscv/sim-main.c
@@ -28,6 +28,7 @@
#include <time.h>
#include "sim-main.h"
+#include "sim-signal.h"
#include "sim-syscall.h"
#include "opcode/riscv.h"
diff --git a/sim/v850/ChangeLog b/sim/v850/ChangeLog
index 2af2fc25..23f432c 100644
--- a/sim/v850/ChangeLog
+++ b/sim/v850/ChangeLog
@@ -1,3 +1,7 @@
+2021-06-18 Mike Frysinger <vapier@gentoo.org>
+
+ * simops.c: Include sim-signal.h.
+
2021-06-17 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
diff --git a/sim/v850/simops.c b/sim/v850/simops.c
index 800a590..6a11104 100644
--- a/sim/v850/simops.c
+++ b/sim/v850/simops.c
@@ -2,6 +2,7 @@
#include "defs.h"
#include "sim-main.h"
+#include "sim-signal.h"
#include "v850_sim.h"
#include "simops.h"