X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=sim%2Fcommon%2Fcgen-run.c;h=ad6cbc8224bdbcc7187fb079458aab13176db7ef;hb=1ce22eebea40573551c2db2e7c83951154d14c81;hp=031bc1c69ea8fda7bceb50a9c8e4dc6e447b5f3c;hpb=5b64ad42d36e6d487e1f7287d37fbc243a178e72;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/common/cgen-run.c b/sim/common/cgen-run.c index 031bc1c69e..ad6cbc8224 100644 --- a/sim/common/cgen-run.c +++ b/sim/common/cgen-run.c @@ -1,22 +1,21 @@ /* Main simulator loop for CGEN-based simulators. - Copyright (C) 1998 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. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. +the Free Software Foundation; either version 3 of the License, or +(at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -You should have received a copy of the GNU General Public License along -with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +You should have received a copy of the GNU General Public License +along with this program. If not, see . */ /* ??? These are old notes, kept around for now. Collecting profile data and tracing slow us down so we don't do them in @@ -116,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