]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - sim/mcore/ChangeLog
sim: mcore: pull cpu state out of global scope
authorMike Frysinger <vapier@gentoo.org>
Sun, 15 Nov 2015 08:42:33 +0000 (00:42 -0800)
committerMike Frysinger <vapier@gentoo.org>
Sun, 15 Nov 2015 13:11:15 +0000 (08:11 -0500)
commit7eed1055b89ad3207151734d34849dd8631d2da2
treed6e571b49a6bf0acc57ee62b8312bb1123e4f4df
parent9ef4651c4930423f9678832f793343059d4ef9ad
sim: mcore: pull cpu state out of global scope

This avoids using global variables to hold the cpu state so we can
better integrate with the sim common code.

There's also a minor fix here where we move the pc register back into
the state that is accessible by the asints array.  When it was pulled
out previously, the reg store/fetch functions broke, but no one really
noticed as the mcore gdb port was dropped a while back.
sim/mcore/ChangeLog
sim/mcore/interp.c
sim/mcore/sim-main.h