aboutsummaryrefslogtreecommitdiff
path: root/sim/m68hc11/interp.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-03-24 02:41:51 -0400
committerMike Frysinger <vapier@gentoo.org>2015-03-24 02:43:42 -0400
commit05f53ed611f0f7442f2b3a12b2829a18db6c2b59 (patch)
treea3e98a71c3528211ab703b7dfc43232423cdeab6 /sim/m68hc11/interp.c
parent282c9750306eb544f65cfed5665eee2b84c7c770 (diff)
downloadfsf-binutils-gdb-05f53ed611f0f7442f2b3a12b2829a18db6c2b59.zip
fsf-binutils-gdb-05f53ed611f0f7442f2b3a12b2829a18db6c2b59.tar.gz
fsf-binutils-gdb-05f53ed611f0f7442f2b3a12b2829a18db6c2b59.tar.bz2
sim: m68hc11/mips/mn10300/v850: add basic sim_pc_get
The previous profile change broke these sims that use sim-profile but not sim-cpu (due to missing model support). Add simple funcs until we can convert these over properly.
Diffstat (limited to 'sim/m68hc11/interp.c')
-rw-r--r--sim/m68hc11/interp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sim/m68hc11/interp.c b/sim/m68hc11/interp.c
index 77aebcb..3100659 100644
--- a/sim/m68hc11/interp.c
+++ b/sim/m68hc11/interp.c
@@ -679,6 +679,12 @@ sim_store_register (SIM_DESC sd, int rn, unsigned char *memory, int length)
return 2;
}
+sim_cia
+sim_pc_get (sim_cpu *cpu)
+{
+ return CIA_GET (cpu);
+}
+
/* Halt the simulator after just one instruction */
static void