aboutsummaryrefslogtreecommitdiff
path: root/sim/m68hc11
diff options
context:
space:
mode:
Diffstat (limited to 'sim/m68hc11')
-rw-r--r--sim/m68hc11/ChangeLog4
-rw-r--r--sim/m68hc11/interp.c6
2 files changed, 10 insertions, 0 deletions
diff --git a/sim/m68hc11/ChangeLog b/sim/m68hc11/ChangeLog
index e311bc9..db46251 100644
--- a/sim/m68hc11/ChangeLog
+++ b/sim/m68hc11/ChangeLog
@@ -1,5 +1,9 @@
2015-03-24 Mike Frysinger <vapier@gentoo.org>
+ * interp.c (sim_pc_get): New function.
+
+2015-03-24 Mike Frysinger <vapier@gentoo.org>
+
* compile.c (sim_set_profile, sim_set_profile_size, sim_set_callbacks,
sim_size, sim_trace): Delete.
* sim-main.h (sim_set_profile, sim_set_profile_size): Delete.
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