aboutsummaryrefslogtreecommitdiff
path: root/sim/igen/igen.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-05-07 13:58:52 +0000
committerAndrew Cagney <cagney@redhat.com>1997-05-07 13:58:52 +0000
commit381f42ef5d76943fb09494130c95abfb9b70e024 (patch)
treef45512a238920ab0e21b11e3efdb62d924984c9d /sim/igen/igen.c
parentbd3274c6d9a56ad8cafa149fd72f0a0cc1a6d0fc (diff)
downloadgdb-381f42ef5d76943fb09494130c95abfb9b70e024.zip
gdb-381f42ef5d76943fb09494130c95abfb9b70e024.tar.gz
gdb-381f42ef5d76943fb09494130c95abfb9b70e024.tar.bz2
o Clean-up tic80 fp tracing
o Fill in more tic80 insns
Diffstat (limited to 'sim/igen/igen.c')
-rw-r--r--sim/igen/igen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sim/igen/igen.c b/sim/igen/igen.c
index 605e1f9..a8475ed 100644
--- a/sim/igen/igen.c
+++ b/sim/igen/igen.c
@@ -258,9 +258,9 @@ print_itrace(lf *file,
lf_printf(file, " trace_one_insn (SD, CPU, %s, TRACE_LINENUM_P (CPU),\n",
(code & generate_with_semantic_delayed_branch) ? "cia.ip" : "cia");
- lf_printf(file, " itable[MY_INDEX].file, MY_INDEX, \"%s\",\n", phase_lc);
- lf_printf(file, " itable[MY_INDEX].name);\n");
-
+ lf_printf(file, " itable[MY_INDEX].file, itable[MY_INDEX].line_nr,\n");
+ lf_printf(file, " \"%s\", itable[MY_INDEX].name);\n", phase_lc);
+
lf_printf(file, "}\n");
lf_indent_suppress(file);
lf_printf(file, "#endif\n");