diff options
author | Andrew Cagney <cagney@redhat.com> | 1997-05-07 13:58:52 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1997-05-07 13:58:52 +0000 |
commit | 381f42ef5d76943fb09494130c95abfb9b70e024 (patch) | |
tree | f45512a238920ab0e21b11e3efdb62d924984c9d /sim/igen | |
parent | bd3274c6d9a56ad8cafa149fd72f0a0cc1a6d0fc (diff) | |
download | gdb-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')
-rw-r--r-- | sim/igen/ChangeLog | 11 | ||||
-rw-r--r-- | sim/igen/igen.c | 6 |
2 files changed, 14 insertions, 3 deletions
diff --git a/sim/igen/ChangeLog b/sim/igen/ChangeLog index 6a10b35..df837dc 100644 --- a/sim/igen/ChangeLog +++ b/sim/igen/ChangeLog @@ -1,3 +1,14 @@ +Wed May 7 12:31:30 1997 Andrew Cagney <cagney@b1.cygnus.com> + + * igen.c (print_itrace): Fix so line-nr is passed to trace + function. + + * gen-idecode.c (print_idecode_validate): Correct FP code. + + * gen-support.c (gen_support_h): Always pass MY_INDEX to support + functions. + (print_support_function_name): Ditto. + Tue May 6 06:12:04 1997 Mike Meissner <meissner@cygnus.com> * igen.c (print_itrace): Call trace_one_insn to trace 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"); |