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/cris/ChangeLog | 4 ++++ sim/cris/traps.c | 1 + 2 files changed, 5 insertions(+) (limited to 'sim/cris') diff --git a/sim/cris/ChangeLog b/sim/cris/ChangeLog index 60a5ce1..2408419 100644 --- a/sim/cris/ChangeLog +++ b/sim/cris/ChangeLog @@ -1,3 +1,7 @@ +2021-06-17 Mike Frysinger + + * traps.c: Include sim/callback.h. + 2021-06-16 Mike Frysinger * configure: Regenerate. diff --git a/sim/cris/traps.c b/sim/cris/traps.c index a55f7df..2ad4081 100644 --- a/sim/cris/traps.c +++ b/sim/cris/traps.c @@ -24,6 +24,7 @@ along with this program. If not, see . */ #include "sim-main.h" #include "sim-syscall.h" #include "sim-options.h" +#include "sim/callback.h" #include "bfd.h" /* FIXME: get rid of targ-vals.h usage everywhere else. */ -- cgit v1.1