X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=sim%2Fcommon%2Fcgen-run.c;h=ad6cbc8224bdbcc7187fb079458aab13176db7ef;hb=1ce22eebea40573551c2db2e7c83951154d14c81;hp=5a25a50d1f7e477cc8335c2b19b8fc99bb01a6f9;hpb=32d0add0a654c1204ab71dc8a55d9374538c4b33;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/common/cgen-run.c b/sim/common/cgen-run.c index 5a25a50d1f..ad6cbc8224 100644 --- a/sim/common/cgen-run.c +++ b/sim/common/cgen-run.c @@ -1,5 +1,5 @@ /* Main simulator loop for CGEN-based simulators. - Copyright (C) 1998-2015 Free Software Foundation, Inc. + Copyright (C) 1998-2020 Free Software Foundation, Inc. Contributed by Cygnus Solutions. This file is part of GDB, the GNU debugger. @@ -115,7 +115,7 @@ sim_resume (SIM_DESC sd, int step, int siggnal) /* Account for the last insn executed. */ SIM_CPU *cpu = STATE_CPU (sd, sim_engine_last_cpu_nr (sd)); ++ CPU_INSN_COUNT (cpu); - TRACE_INSN_FINI (cpu, NULL, 1); + CGEN_TRACE_INSN_FINI (cpu, NULL, 1); } #endif