aboutsummaryrefslogtreecommitdiff
path: root/sim/common/ChangeLog
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-01-02 09:23:06 -0500
committerMike Frysinger <vapier@gentoo.org>2016-01-02 10:27:56 -0500
commitd47f5b30d8481272e9480118bdcb283690070349 (patch)
tree589f77d62110d7456496fde754036fa24c89369d /sim/common/ChangeLog
parent32273fe68f3d1288b2eef6b96beda3732d0ac25e (diff)
downloadbinutils-d47f5b30d8481272e9480118bdcb283690070349.zip
binutils-d47f5b30d8481272e9480118bdcb283690070349.tar.gz
binutils-d47f5b30d8481272e9480118bdcb283690070349.tar.bz2
sim: delete dead current_state globals
The global current_state handle to the current simulator state is a design idea that was half implemented, but never really cleaned up. The point was to have a global variable pointing to the state so that funcs could more quickly & easily access the state anywhere. We've instead moved in the direction of passing state around everywhere and don't have any intention of moving back. I also can't find any references to gdb using this variable, or to cgen related "dump_regs" functions, both of which were used in the comments related to this code.
Diffstat (limited to 'sim/common/ChangeLog')
-rw-r--r--sim/common/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 58ffa6c..65a0abf 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,9 @@
+2016-01-02 Mike Frysinger <vapier@gentoo.org>
+
+ * cgen-defs.h (current_state): Delete.
+ * sim-base.h (CURRENT_STATE_REG, CURRENT_STATE): Delete.
+ * sim-utils.c (current_state): Delete.
+
2015-12-30 Mike Frysinger <vapier@gentoo.org>
* sim-module.c (sim_pre_argv_init): Change STATE_MY_NAME assignment