aboutsummaryrefslogtreecommitdiff
path: root/sim/or1k/mloop.in
diff options
context:
space:
mode:
Diffstat (limited to 'sim/or1k/mloop.in')
-rw-r--r--sim/or1k/mloop.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/sim/or1k/mloop.in b/sim/or1k/mloop.in
index a1cb117..0b707ea 100644
--- a/sim/or1k/mloop.in
+++ b/sim/or1k/mloop.in
@@ -42,6 +42,7 @@ case "x$1" in
xsupport)
cat <<EOF
+#line $LINENO "$0"
#include <stdlib.h>
static INLINE const IDESC *
@@ -144,6 +145,7 @@ xinit)
xextract-simple | xextract-scache)
cat <<EOF
+#line $LINENO "$0"
{
USI insn = GETIMEMUSI (current_cpu, pc);
extract (current_cpu, pc, insn, sc, FAST_P);
@@ -164,6 +166,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;
@@ -222,6 +225,7 @@ xfull-exec-* | xfast-exec-*)
# vpc is the virtual program counter.
cat <<EOF
+#line $LINENO "$0"
#if (! FAST_P && WITH_SEM_SWITCH_FULL) || (FAST_P && WITH_SEM_SWITCH_FAST)
#define DEFINE_SWITCH
#ifdef WANT_CPU_OR1K32BF