summaryrefslogtreecommitdiff
path: root/sim/riscv
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-13 23:16:32 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-18 00:50:14 -0400
commit1fef66b0dcc09c9114100e782ea54594550e8fb7 (patch)
tree4c7e4fe60f287d3db75997d7affb763c0e77608f /sim/riscv
parent7039b291607e4d890679cb3fe401d37228992213 (diff)
downloadbinutils-gdb-1fef66b0dcc09c9114100e782ea54594550e8fb7.tar.gz
sim: split sim-signal.h include out
The sim-basics.h is too big and includes too many things. This leads to some arch's sim-main.h having circular loop issues with defs, and makes it hard to separate out common objects from arch-specific defs. By splitting up sim-basics.h and killing off sim-main.h, it'll make it easier to separate out the two.
Diffstat (limited to 'sim/riscv')
-rw-r--r--sim/riscv/ChangeLog4
-rw-r--r--sim/riscv/sim-main.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/sim/riscv/ChangeLog b/sim/riscv/ChangeLog
index 5c7973f5f95..925fa0cc576 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 a09ae033cac..0faf9395ae5 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"