aboutsummaryrefslogtreecommitdiff
path: root/sim/cris/mloop.in
diff options
context:
space:
mode:
Diffstat (limited to 'sim/cris/mloop.in')
-rw-r--r--sim/cris/mloop.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/sim/cris/mloop.in b/sim/cris/mloop.in
index 21cbb69..d0f3ee5 100644
--- a/sim/cris/mloop.in
+++ b/sim/cris/mloop.in
@@ -42,6 +42,7 @@ case "x$1" in
xsupport)
cat <<EOF
+#line $LINENO "$0"
#include <stdlib.h>
/* It seems we don't have a templated header file corresponding to
@@ -142,6 +143,7 @@ EOF
xinit)
cat <<EOF
+#line $LINENO "$0"
/* This seemed the only sane location to emit a call to a
model-specific init function. It may not work for all simulator
types. FIXME: Introduce a model-init hook. */
@@ -160,6 +162,7 @@ xextract-simple | xextract-scache)
# Outputs: sc filled in
cat <<EOF
+#line $LINENO "$0"
{
CGEN_INSN_INT insn = GETIMEMUHI (current_cpu, vpc);
extract (current_cpu, vpc, insn, SEM_ARGBUF (sc), FAST_P);
@@ -179,6 +182,7 @@ xextract-pbb)
# SET_INSN_COUNT(n) must be called to record number of real insns.
cat <<EOF
+#line $LINENO "$0"
{
const IDESC *idesc;
int icount = 0;
@@ -276,6 +280,7 @@ xfull-exec-* | xfast-exec-*)
# vpc contains the address of the next insn to execute
cat <<EOF
+#line $LINENO "$0"
{
#if (! FAST_P && WITH_SEM_SWITCH_FULL) || (FAST_P && WITH_SEM_SWITCH_FAST)
#define DEFINE_SWITCH