From: Mike Frysinger Date: Sun, 27 Jun 2021 03:17:59 +0000 (-0400) Subject: sim: cgen: delete unused record_trace_results functions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ba4990f13f2ed67bdadd1f087336d37abd212092;p=binutils-gdb.git 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. --- diff --git a/sim/bpf/ChangeLog b/sim/bpf/ChangeLog index 1bc4c84a806..912a48aa4aa 100644 --- a/sim/bpf/ChangeLog +++ b/sim/bpf/ChangeLog @@ -1,3 +1,7 @@ +2021-06-27 Mike Frysinger + + * cpu.c (bpfbf_record_trace_results): Delete function. + 2021-06-27 Mike Frysinger * decode-be.c: Include cgen-mem.h & cgen-ops.h. diff --git a/sim/bpf/cpu.c b/sim/bpf/cpu.c index 5c75a90339c..d69a0f668fb 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 cb61b0ed847..f369739af8b 100644 --- a/sim/cris/ChangeLog +++ b/sim/cris/ChangeLog @@ -1,3 +1,8 @@ +2021-06-28 Mike Frysinger + + * cpuv10.c (crisv10f_record_trace_results): Delete function. + * cpuv32.c (crisv32f_record_trace_results): Likewise. + 2021-06-27 Mike Frysinger * decodev10.c: Include cgen-mem.h. diff --git a/sim/cris/cpuv10.c b/sim/cris/cpuv10.c index 84f4c8e5249..ac08568d6bd 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 1fbe1b4c059..e2e8eb57a72 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 bc42a81c646..36ea3ef6b54 100644 --- a/sim/frv/ChangeLog +++ b/sim/frv/ChangeLog @@ -1,3 +1,7 @@ +2021-06-28 Mike Frysinger + + * cpu.c (frvbf_record_trace_results): Delete function. + 2021-06-27 Mike Frysinger * sim-if.c (sim_open): Mark backend_data const. diff --git a/sim/frv/cpu.c b/sim/frv/cpu.c index 38983756296..b56b219201b 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 64c1d7d51b3..a8cea4d6995 100644 --- a/sim/iq2000/ChangeLog +++ b/sim/iq2000/ChangeLog @@ -1,3 +1,7 @@ +2021-06-28 Mike Frysinger + + * cpu.c (iq2000bf_record_trace_results): Delete function. + 2021-06-22 Mike Frysinger * configure: Regenerate. diff --git a/sim/iq2000/cpu.c b/sim/iq2000/cpu.c index 8507ae20490..00121d978a8 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 de82ba2d293..bc3c5fe8221 100644 --- a/sim/lm32/ChangeLog +++ b/sim/lm32/ChangeLog @@ -1,3 +1,7 @@ +2021-06-28 Mike Frysinger + + * cpu.c (lm32bf_record_trace_results): Delete function. + 2021-06-22 Mike Frysinger * configure: Regenerate. diff --git a/sim/lm32/cpu.c b/sim/lm32/cpu.c index 2c7fb42a4f9..edc88052036 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 650b19d94c0..00b0a7a8c11 100644 --- a/sim/m32r/ChangeLog +++ b/sim/m32r/ChangeLog @@ -1,3 +1,9 @@ +2021-06-28 Mike Frysinger + + * 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 * 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 fdfd8978383..d27d69849c6 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 9943771903b..607c8258594 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 e4d206f31ae..39552677602 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 28cde756a37..eb14a13adc6 100644 --- a/sim/or1k/ChangeLog +++ b/sim/or1k/ChangeLog @@ -1,3 +1,7 @@ +2021-06-28 Mike Frysinger + + * cpu.c (or1k32bf_record_trace_results): Delete function. + 2021-06-22 Mike Frysinger * configure: Regenerate. diff --git a/sim/or1k/cpu.c b/sim/or1k/cpu.c index 3743f11e8b5..946d10d0412 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) -{ -}