aboutsummaryrefslogtreecommitdiff
path: root/sim/h8300
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-13 22:14:40 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-17 00:11:48 -0400
commitef5058ae8714d68c0f671726618e721681523ac5 (patch)
treede9b85e73d69328fc91d905709fe65754cdc654b /sim/h8300
parent62cfa544a44b6891f8fcdec953232a99da74a21c (diff)
downloadgdb-ef5058ae8714d68c0f671726618e721681523ac5.zip
gdb-ef5058ae8714d68c0f671726618e721681523ac5.tar.gz
gdb-ef5058ae8714d68c0f671726618e721681523ac5.tar.bz2
sim: split sim/callback.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. Start with splitting out sim/callback.h.
Diffstat (limited to 'sim/h8300')
-rw-r--r--sim/h8300/ChangeLog4
-rw-r--r--sim/h8300/compile.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/sim/h8300/ChangeLog b/sim/h8300/ChangeLog
index 1d506ff..e12242c 100644
--- a/sim/h8300/ChangeLog
+++ b/sim/h8300/ChangeLog
@@ -1,3 +1,7 @@
+2021-06-17 Mike Frysinger <vapier@gentoo.org>
+
+ * compile.c: Include sim/callback.h.
+
2021-06-16 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
diff --git a/sim/h8300/compile.c b/sim/h8300/compile.c
index 01e9766..8b13326a 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/callback.h"
#ifndef SIGTRAP
# define SIGTRAP 5