diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-06-13 23:16:32 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-06-18 00:50:14 -0400 |
commit | 1fef66b0dcc09c9114100e782ea54594550e8fb7 (patch) | |
tree | 4c7e4fe60f287d3db75997d7affb763c0e77608f /sim/bfin | |
parent | 7039b291607e4d890679cb3fe401d37228992213 (diff) | |
download | gdb-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/bfin')
-rw-r--r-- | sim/bfin/ChangeLog | 5 | ||||
-rw-r--r-- | sim/bfin/dv-bfin_cec.c | 1 | ||||
-rw-r--r-- | sim/bfin/sim-main.h | 1 |
3 files changed, 6 insertions, 1 deletions
diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog index fa97d8e..1e83b2b 100644 --- a/sim/bfin/ChangeLog +++ b/sim/bfin/ChangeLog @@ -1,3 +1,8 @@ +2021-06-18 Mike Frysinger <vapier@gentoo.org> + + * dv-bfin_cec.c: Include sim-signal.h. + * sim-main.h: Delete sim-signal.h include. + 2021-06-17 Mike Frysinger <vapier@gentoo.org> * configure.ac: Delete SIM_AC_OPTION_ENDIAN call. diff --git a/sim/bfin/dv-bfin_cec.c b/sim/bfin/dv-bfin_cec.c index e80616d..7ad3ea0 100644 --- a/sim/bfin/dv-bfin_cec.c +++ b/sim/bfin/dv-bfin_cec.c @@ -24,6 +24,7 @@ #include <strings.h> #include "sim-main.h" +#include "sim-signal.h" #include "devices.h" #include "dv-bfin_cec.h" #include "dv-bfin_evt.h" diff --git a/sim/bfin/sim-main.h b/sim/bfin/sim-main.h index 18d0a00..0e5d185 100644 --- a/sim/bfin/sim-main.h +++ b/sim/bfin/sim-main.h @@ -22,7 +22,6 @@ #define _BFIN_MAIN_SIM_H_ #include "sim-basics.h" -#include "sim-signal.h" #include "arch.h" #include "sim-base.h" |