aboutsummaryrefslogtreecommitdiff
path: root/sim/d10v/d10v_sim.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-11-15 03:07:06 -0800
committerMike Frysinger <vapier@gentoo.org>2015-11-15 20:47:17 -0500
commitaadc1740c74a65b916b7d9bb6efe588352326871 (patch)
tree9f8c003872722c6cf0a96536eb222cabfb6bc451 /sim/d10v/d10v_sim.h
parent679546067e1f3e1617bff22d03e483fb2beeed24 (diff)
downloadgdb-aadc1740c74a65b916b7d9bb6efe588352326871.zip
gdb-aadc1740c74a65b916b7d9bb6efe588352326871.tar.gz
gdb-aadc1740c74a65b916b7d9bb6efe588352326871.tar.bz2
sim: d10v: convert to common sim engine logic
Now that we have access to the sim state everywhere, we can convert to the common engine logic for overall processing. This frees us up from tracking exception state ourselves.
Diffstat (limited to 'sim/d10v/d10v_sim.h')
-rw-r--r--sim/d10v/d10v_sim.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sim/d10v/d10v_sim.h b/sim/d10v/d10v_sim.h
index ed2bbbb..e2d2111 100644
--- a/sim/d10v/d10v_sim.h
+++ b/sim/d10v/d10v_sim.h
@@ -226,7 +226,6 @@ struct d10v_memory
uint8 *insn[IMEM_SEGMENTS];
uint8 *data[DMEM_SEGMENTS];
uint8 *unif[UMEM_SEGMENTS];
- uint8 fault[16];
};
struct _state
@@ -262,7 +261,6 @@ struct _state
} trace;
uint8 exe;
- int exception;
int pc_changed;
/* NOTE: everything below this line is not reset by