aboutsummaryrefslogtreecommitdiff
path: root/sim/iq2000/sim-if.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/iq2000/sim-if.c')
-rw-r--r--sim/iq2000/sim-if.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sim/iq2000/sim-if.c b/sim/iq2000/sim-if.c
index b5240f0..d21ec1b 100644
--- a/sim/iq2000/sim-if.c
+++ b/sim/iq2000/sim-if.c
@@ -26,10 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "bfd.h"
static void free_state (SIM_DESC);
-
-/* Records simulator descriptor so utilities like iq2000_dump_regs can be
- called from gdb. */
-SIM_DESC current_state;
/* Cover function for sim_cgen_disassemble_insn. */
@@ -149,10 +145,6 @@ sim_open (kind, callback, abfd, argv)
Must be done after iq2000_cgen_cpu_open. */
cgen_init (sd);
- /* Store in a global so things like sparc32_dump_regs can be invoked
- from the gdb command line. */
- current_state = sd;
-
return sd;
}