aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-26 23:17:59 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-28 11:25:21 -0400
commitba4990f13f2ed67bdadd1f087336d37abd212092 (patch)
tree3a29f60e54fc8629db6773d5338145d71efffd06 /sim
parent05b857720611bc2e1f9cca2573085b774181af9d (diff)
downloadgdb-ba4990f13f2ed67bdadd1f087336d37abd212092.zip
gdb-ba4990f13f2ed67bdadd1f087336d37abd212092.tar.gz
gdb-ba4990f13f2ed67bdadd1f087336d37abd212092.tar.bz2
sim: cgen: delete unused record_trace_results functions
Since there are no callers of this anywhere, nor is the function implemented by anyone, drop it across the board to cleanup warnings.
Diffstat (limited to 'sim')
-rw-r--r--sim/bpf/ChangeLog4
-rw-r--r--sim/bpf/cpu.c8
-rw-r--r--sim/cris/ChangeLog5
-rw-r--r--sim/cris/cpuv10.c8
-rw-r--r--sim/cris/cpuv32.c8
-rw-r--r--sim/frv/ChangeLog4
-rw-r--r--sim/frv/cpu.c8
-rw-r--r--sim/iq2000/ChangeLog4
-rw-r--r--sim/iq2000/cpu.c8
-rw-r--r--sim/lm32/ChangeLog4
-rw-r--r--sim/lm32/cpu.c8
-rw-r--r--sim/m32r/ChangeLog6
-rw-r--r--sim/m32r/cpu.c8
-rw-r--r--sim/m32r/cpu2.c8
-rw-r--r--sim/m32r/cpux.c8
-rw-r--r--sim/or1k/ChangeLog4
-rw-r--r--sim/or1k/cpu.c8
17 files changed, 31 insertions, 80 deletions
diff --git a/sim/bpf/ChangeLog b/sim/bpf/ChangeLog
index 1bc4c84..912a48a 100644
--- a/sim/bpf/ChangeLog
+++ b/sim/bpf/ChangeLog
@@ -1,5 +1,9 @@
2021-06-27 Mike Frysinger <vapier@gentoo.org>
+ * cpu.c (bpfbf_record_trace_results): Delete function.
+
+2021-06-27 Mike Frysinger <vapier@gentoo.org>
+
* decode-be.c: Include cgen-mem.h & cgen-ops.h.
* decode-le.c: Likewise.
diff --git a/sim/bpf/cpu.c b/sim/bpf/cpu.c
index 5c75a90..d69a0f6 100644
--- a/sim/bpf/cpu.c
+++ b/sim/bpf/cpu.c
@@ -59,11 +59,3 @@ bpfbf_h_pc_set (SIM_CPU *current_cpu, UDI newval)
{
SET_H_PC (newval);
}
-
-/* Record trace results for INSN. */
-
-void
-bpfbf_record_trace_results (SIM_CPU *current_cpu, CGEN_INSN *insn,
- int *indices, TRACE_RECORD *tr)
-{
-}
diff --git a/sim/cris/ChangeLog b/sim/cris/ChangeLog
index cb61b0e..f369739 100644
--- a/sim/cris/ChangeLog
+++ b/sim/cris/ChangeLog
@@ -1,3 +1,8 @@
+2021-06-28 Mike Frysinger <vapier@gentoo.org>
+
+ * cpuv10.c (crisv10f_record_trace_results): Delete function.
+ * cpuv32.c (crisv32f_record_trace_results): Likewise.
+
2021-06-27 Mike Frysinger <vapier@gentoo.org>
* decodev10.c: Include cgen-mem.h.
diff --git a/sim/cris/cpuv10.c b/sim/cris/cpuv10.c
index 84f4c8e..ac08568 100644
--- a/sim/cris/cpuv10.c
+++ b/sim/cris/cpuv10.c
@@ -490,11 +490,3 @@ crisv10f_h_prefixreg_pre_v32_set (SIM_CPU *current_cpu, SI newval)
{
CPU (h_prefixreg_pre_v32) = newval;
}
-
-/* Record trace results for INSN. */
-
-void
-crisv10f_record_trace_results (SIM_CPU *current_cpu, CGEN_INSN *insn,
- int *indices, TRACE_RECORD *tr)
-{
-}
diff --git a/sim/cris/cpuv32.c b/sim/cris/cpuv32.c
index 1fbe1b4..e2e8eb5 100644
--- a/sim/cris/cpuv32.c
+++ b/sim/cris/cpuv32.c
@@ -586,11 +586,3 @@ crisv32f_h_prefixreg_v32_set (SIM_CPU *current_cpu, SI newval)
{
SET_H_PREFIXREG_V32 (newval);
}
-
-/* Record trace results for INSN. */
-
-void
-crisv32f_record_trace_results (SIM_CPU *current_cpu, CGEN_INSN *insn,
- int *indices, TRACE_RECORD *tr)
-{
-}
diff --git a/sim/frv/ChangeLog b/sim/frv/ChangeLog
index bc42a81..36ea3ef 100644
--- a/sim/frv/ChangeLog
+++ b/sim/frv/ChangeLog
@@ -1,3 +1,7 @@
+2021-06-28 Mike Frysinger <vapier@gentoo.org>
+
+ * cpu.c (frvbf_record_trace_results): Delete function.
+
2021-06-27 Mike Frysinger <vapier@gentoo.org>
* sim-if.c (sim_open): Mark backend_data const.
diff --git a/sim/frv/cpu.c b/sim/frv/cpu.c
index 3898375..b56b219 100644
--- a/sim/frv/cpu.c
+++ b/sim/frv/cpu.c
@@ -698,11 +698,3 @@ frvbf_h_cccr_set (SIM_CPU *current_cpu, UINT regno, UQI newval)
{
CPU (h_cccr[regno]) = newval;
}
-
-/* Record trace results for INSN. */
-
-void
-frvbf_record_trace_results (SIM_CPU *current_cpu, CGEN_INSN *insn,
- int *indices, TRACE_RECORD *tr)
-{
-}
diff --git a/sim/iq2000/ChangeLog b/sim/iq2000/ChangeLog
index 64c1d7d..a8cea4d 100644
--- a/sim/iq2000/ChangeLog
+++ b/sim/iq2000/ChangeLog
@@ -1,3 +1,7 @@
+2021-06-28 Mike Frysinger <vapier@gentoo.org>
+
+ * cpu.c (iq2000bf_record_trace_results): Delete function.
+
2021-06-22 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
diff --git a/sim/iq2000/cpu.c b/sim/iq2000/cpu.c
index 8507ae2..00121d9 100644
--- a/sim/iq2000/cpu.c
+++ b/sim/iq2000/cpu.c
@@ -58,11 +58,3 @@ iq2000bf_h_gr_set (SIM_CPU *current_cpu, UINT regno, SI newval)
{
SET_H_GR (regno, newval);
}
-
-/* Record trace results for INSN. */
-
-void
-iq2000bf_record_trace_results (SIM_CPU *current_cpu, CGEN_INSN *insn,
- int *indices, TRACE_RECORD *tr)
-{
-}
diff --git a/sim/lm32/ChangeLog b/sim/lm32/ChangeLog
index de82ba2..bc3c5fe 100644
--- a/sim/lm32/ChangeLog
+++ b/sim/lm32/ChangeLog
@@ -1,3 +1,7 @@
+2021-06-28 Mike Frysinger <vapier@gentoo.org>
+
+ * cpu.c (lm32bf_record_trace_results): Delete function.
+
2021-06-22 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
diff --git a/sim/lm32/cpu.c b/sim/lm32/cpu.c
index 2c7fb42..edc8805 100644
--- a/sim/lm32/cpu.c
+++ b/sim/lm32/cpu.c
@@ -74,11 +74,3 @@ lm32bf_h_csr_set (SIM_CPU *current_cpu, UINT regno, SI newval)
{
CPU (h_csr[regno]) = newval;
}
-
-/* Record trace results for INSN. */
-
-void
-lm32bf_record_trace_results (SIM_CPU *current_cpu, CGEN_INSN *insn,
- int *indices, TRACE_RECORD *tr)
-{
-}
diff --git a/sim/m32r/ChangeLog b/sim/m32r/ChangeLog
index 650b19d..00b0a7a 100644
--- a/sim/m32r/ChangeLog
+++ b/sim/m32r/ChangeLog
@@ -1,3 +1,9 @@
+2021-06-28 Mike Frysinger <vapier@gentoo.org>
+
+ * cpu.c (m32rbf_record_trace_results): Delete function.
+ * cpu2.c (m32r2f_record_trace_results): Likewise.
+ * cpux.c (m32rxf_record_trace_results): Likewise.
+
2021-06-24 Mike Frysinger <vapier@gentoo.org>
* traps-linux.c (m32r_trap): Set s.arg4, s.arg5, s.arg6, and s.arg7.
diff --git a/sim/m32r/cpu.c b/sim/m32r/cpu.c
index fdfd897..d27d698 100644
--- a/sim/m32r/cpu.c
+++ b/sim/m32r/cpu.c
@@ -170,11 +170,3 @@ m32rbf_h_lock_set (SIM_CPU *current_cpu, BI newval)
{
CPU (h_lock) = newval;
}
-
-/* Record trace results for INSN. */
-
-void
-m32rbf_record_trace_results (SIM_CPU *current_cpu, CGEN_INSN *insn,
- int *indices, TRACE_RECORD *tr)
-{
-}
diff --git a/sim/m32r/cpu2.c b/sim/m32r/cpu2.c
index 9943771..607c825 100644
--- a/sim/m32r/cpu2.c
+++ b/sim/m32r/cpu2.c
@@ -186,11 +186,3 @@ m32r2f_h_lock_set (SIM_CPU *current_cpu, BI newval)
{
CPU (h_lock) = newval;
}
-
-/* Record trace results for INSN. */
-
-void
-m32r2f_record_trace_results (SIM_CPU *current_cpu, CGEN_INSN *insn,
- int *indices, TRACE_RECORD *tr)
-{
-}
diff --git a/sim/m32r/cpux.c b/sim/m32r/cpux.c
index e4d206f3..3955267 100644
--- a/sim/m32r/cpux.c
+++ b/sim/m32r/cpux.c
@@ -186,11 +186,3 @@ m32rxf_h_lock_set (SIM_CPU *current_cpu, BI newval)
{
CPU (h_lock) = newval;
}
-
-/* Record trace results for INSN. */
-
-void
-m32rxf_record_trace_results (SIM_CPU *current_cpu, CGEN_INSN *insn,
- int *indices, TRACE_RECORD *tr)
-{
-}
diff --git a/sim/or1k/ChangeLog b/sim/or1k/ChangeLog
index 28cde75..eb14a13 100644
--- a/sim/or1k/ChangeLog
+++ b/sim/or1k/ChangeLog
@@ -1,3 +1,7 @@
+2021-06-28 Mike Frysinger <vapier@gentoo.org>
+
+ * cpu.c (or1k32bf_record_trace_results): Delete function.
+
2021-06-22 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
diff --git a/sim/or1k/cpu.c b/sim/or1k/cpu.c
index 3743f11..946d10d 100644
--- a/sim/or1k/cpu.c
+++ b/sim/or1k/cpu.c
@@ -10219,11 +10219,3 @@ or1k32bf_h_roff1_set (SIM_CPU *current_cpu, BI newval)
{
CPU (h_roff1) = newval;
}
-
-/* Record trace results for INSN. */
-
-void
-or1k32bf_record_trace_results (SIM_CPU *current_cpu, CGEN_INSN *insn,
- int *indices, TRACE_RECORD *tr)
-{
-}