summaryrefslogtreecommitdiff
path: root/sim/frv
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-01-21 21:13:06 -0500
committerMike Frysinger <vapier@gentoo.org>2021-05-17 00:46:32 -0400
commite106fc358c217f8f1e09cfdd383f564178c8f5eb (patch)
tree58cfffc4d30435963e4d9ce7ce7c7ca77635ae63 /sim/frv
parent85d93de3d8e24b54516ece8ec95ab09e6786e102 (diff)
downloadbinutils-gdb-e106fc358c217f8f1e09cfdd383f564178c8f5eb.tar.gz
sim: cgen: invert sim_state storage for cgen ports
Diffstat (limited to 'sim/frv')
-rw-r--r--sim/frv/ChangeLog4
-rw-r--r--sim/frv/sim-main.h10
2 files changed, 4 insertions, 10 deletions
diff --git a/sim/frv/ChangeLog b/sim/frv/ChangeLog
index e9e94631afd..d94526a4594 100644
--- a/sim/frv/ChangeLog
+++ b/sim/frv/ChangeLog
@@ -1,3 +1,7 @@
+2021-05-17 Mike Frysinger <vapier@gentoo.org>
+
+ * sim-main.h (struct sim_state): Delete.
+
2021-05-16 Mike Frysinger <vapier@gentoo.org>
* cache.c, frv.c, interrupts.c, memory.c, options.c, pipeline.c,
diff --git a/sim/frv/sim-main.h b/sim/frv/sim-main.h
index 1515c325e73..e2b09a3778d 100644
--- a/sim/frv/sim-main.h
+++ b/sim/frv/sim-main.h
@@ -104,16 +104,6 @@ struct _sim_cpu {
#endif /* defined (WANT_CPU_FRVBF) */
};
-/* The sim_state struct. */
-
-struct sim_state {
- sim_cpu *cpu[MAX_NR_PROCESSORS];
-
- CGEN_STATE cgen_state;
-
- sim_state_base base;
-};
-
/* Misc. */
/* Catch address exceptions. */