From ef5058ae8714d68c0f671726618e721681523ac5 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 13 Jun 2021 22:14:40 -0400 Subject: 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. --- sim/h8300/ChangeLog | 4 ++++ sim/h8300/compile.c | 1 + 2 files changed, 5 insertions(+) (limited to 'sim/h8300') 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 + + * compile.c: Include sim/callback.h. + 2021-06-16 Mike Frysinger * 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 -- cgit v1.1