aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
Diffstat (limited to 'sim')
-rw-r--r--sim/m68hc11/ChangeLog4
-rw-r--r--sim/m68hc11/interp.c6
-rw-r--r--sim/mips/ChangeLog4
-rw-r--r--sim/mips/interp.c5
-rw-r--r--sim/mn10300/ChangeLog4
-rw-r--r--sim/mn10300/interp.c5
-rw-r--r--sim/v850/ChangeLog4
-rw-r--r--sim/v850/interp.c6
8 files changed, 38 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
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog
index 996144d..cf2c8cc 100644
--- a/sim/mips/ChangeLog
+++ b/sim/mips/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>
+
* sim-main.h (SIM_HAVE_BIENDIAN): Delete.
* tconfig.h (SIM_HAVE_BIENDIAN): Delete.
diff --git a/sim/mips/interp.c b/sim/mips/interp.c
index 2491fcd..b382455 100644
--- a/sim/mips/interp.c
+++ b/sim/mips/interp.c
@@ -1093,6 +1093,11 @@ sim_fetch_register (sd,rn,memory,length)
return 0;
}
+sim_cia
+sim_pc_get (sim_cpu *cpu)
+{
+ return PC;
+}
SIM_RC
sim_create_inferior (sd, abfd, argv,env)
diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog
index cf8a025..726399c 100644
--- a/sim/mn10300/ChangeLog
+++ b/sim/mn10300/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>
+
* configure: Regenerate.
2015-03-23 Mike Frysinger <vapier@gentoo.org>
diff --git a/sim/mn10300/interp.c b/sim/mn10300/interp.c
index 577cc7a..37f6f24 100644
--- a/sim/mn10300/interp.c
+++ b/sim/mn10300/interp.c
@@ -396,6 +396,11 @@ sim_store_register (SIM_DESC sd,
return length;
}
+sim_cia
+sim_pc_get (sim_cpu *cpu)
+{
+ return PC;
+}
void
mn10300_core_signal (SIM_DESC sd,
diff --git a/sim/v850/ChangeLog b/sim/v850/ChangeLog
index 853f9f7..aa3f014 100644
--- a/sim/v850/ChangeLog
+++ b/sim/v850/ChangeLog
@@ -1,3 +1,7 @@
+2015-03-24 Mike Frysinger <vapier@gentoo.org>
+
+ * interp.c (sim_pc_get): New function.
+
2015-03-16 Mike Frysinger <vapier@gentoo.org>
* config.in, configure: Regenerate.
diff --git a/sim/v850/interp.c b/sim/v850/interp.c
index 2546c58..04f3f2f 100644
--- a/sim/v850/interp.c
+++ b/sim/v850/interp.c
@@ -324,3 +324,9 @@ sim_store_register (SIM_DESC sd,
State.regs[rn] = T2H_4 (*(unsigned32 *) memory);
return length;
}
+
+sim_cia
+sim_pc_get (sim_cpu *cpu)
+{
+ return PC;
+}