X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=sim%2Fcommon%2Fgenmloop.sh;h=50de85899ff10ad9e69efce7fa01a2e1bd441b15;hb=423054beadf317757d43aefb9eddfe711a42e3e1;hp=fce30627e8dbe45e53592a8f5f5d62564f0e3d81;hpb=7b6bb8daaceb9ecf3f42dea57ae82733d6a3b2f6;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/common/genmloop.sh b/sim/common/genmloop.sh old mode 100644 new mode 100755 index fce30627e8..50de85899f --- a/sim/common/genmloop.sh +++ b/sim/common/genmloop.sh @@ -1,6 +1,5 @@ # Generate the main loop of the simulator. -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007, 2008, 2009, 2010, 2011 -# Free Software Foundation, Inc. +# Copyright (C) 1996-2020 Free Software Foundation, Inc. # Contributed by Cygnus Support. # # This file is part of the GNU simulators. @@ -1113,7 +1112,7 @@ void } } - TRACE_INSN_FINI (current_cpu, cur_abuf, 0 /*last_p*/); + CGEN_TRACE_INSN_FINI (current_cpu, cur_abuf, 0 /*last_p*/); } /* FIXME: Later make cover macros: PROFILE_INSN_{INIT,FINI}. */ @@ -1121,8 +1120,8 @@ void && ARGBUF_PROFILE_P (cur_abuf)) @prefix@_model_insn_before (current_cpu, first_p); - TRACE_INSN_INIT (current_cpu, cur_abuf, first_p); - TRACE_INSN (current_cpu, cur_idesc->idata, cur_abuf, pc); + CGEN_TRACE_INSN_INIT (current_cpu, cur_abuf, first_p); + CGEN_TRACE_INSN (current_cpu, cur_idesc->idata, cur_abuf, pc); } /* x-after handler. @@ -1147,7 +1146,7 @@ void cycles = (*prev_idesc->timing->model_fn) (current_cpu, prev_sem_arg); @prefix@_model_insn_after (current_cpu, 1 /*last_p*/, cycles); } - TRACE_INSN_FINI (current_cpu, prev_abuf, 1 /*last_p*/); + CGEN_TRACE_INSN_FINI (current_cpu, prev_abuf, 1 /*last_p*/); } #define FAST_P 0