aboutsummaryrefslogtreecommitdiff
path: root/sim/m32r
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/m32r
parent85d93de3d8e24b54516ece8ec95ab09e6786e102 (diff)
downloadgdb-e106fc358c217f8f1e09cfdd383f564178c8f5eb.zip
gdb-e106fc358c217f8f1e09cfdd383f564178c8f5eb.tar.gz
gdb-e106fc358c217f8f1e09cfdd383f564178c8f5eb.tar.bz2
sim: cgen: invert sim_state storage for cgen ports
Diffstat (limited to 'sim/m32r')
-rw-r--r--sim/m32r/ChangeLog4
-rw-r--r--sim/m32r/sim-main.h10
2 files changed, 4 insertions, 10 deletions
diff --git a/sim/m32r/ChangeLog b/sim/m32r/ChangeLog
index 2e099a0..04d342d 100644
--- a/sim/m32r/ChangeLog
+++ b/sim/m32r/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>
* dv-m32r_cache.c, dv-m32r_uart.c: Replace config.h include with
diff --git a/sim/m32r/sim-main.h b/sim/m32r/sim-main.h
index 5b24ce8..f89db48 100644
--- a/sim/m32r/sim-main.h
+++ b/sim/m32r/sim-main.h
@@ -48,16 +48,6 @@ struct _sim_cpu {
#endif
};
-/* 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. */