aboutsummaryrefslogtreecommitdiff
path: root/sim/m32r
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/m32r
parent7039b291607e4d890679cb3fe401d37228992213 (diff)
downloadgdb-1fef66b0dcc09c9114100e782ea54594550e8fb7.zip
gdb-1fef66b0dcc09c9114100e782ea54594550e8fb7.tar.gz
gdb-1fef66b0dcc09c9114100e782ea54594550e8fb7.tar.bz2
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/m32r')
-rw-r--r--sim/m32r/ChangeLog5
-rw-r--r--sim/m32r/traps-linux.c1
-rw-r--r--sim/m32r/traps.c1
3 files changed, 7 insertions, 0 deletions
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>