aboutsummaryrefslogtreecommitdiff
path: root/sim/igen
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-09-19 00:50:24 +0000
committerAndrew Cagney <cagney@redhat.com>1997-09-19 00:50:24 +0000
commit6a4c8f1e29bcfc8c354cbfeebfa98b75735fd477 (patch)
treee667565826e117c4396dec414692c0a0ac611ed8 /sim/igen
parent60fe0e06a825b1e36c35534d53d2196f01a3d74d (diff)
downloadgdb-6a4c8f1e29bcfc8c354cbfeebfa98b75735fd477.zip
gdb-6a4c8f1e29bcfc8c354cbfeebfa98b75735fd477.tar.gz
gdb-6a4c8f1e29bcfc8c354cbfeebfa98b75735fd477.tar.bz2
Change semantic function name to semantic_<INSN>_<FMT> instead of
semantic_<FMT>_<INSN>.
Diffstat (limited to 'sim/igen')
-rw-r--r--sim/igen/ChangeLog5
-rw-r--r--sim/igen/igen.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/sim/igen/ChangeLog b/sim/igen/ChangeLog
index 45848cc..4c7ffa2 100644
--- a/sim/igen/ChangeLog
+++ b/sim/igen/ChangeLog
@@ -1,3 +1,8 @@
+Fri Sep 19 10:36:30 1997 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * igen.c (print_function_name): Put the format name after the
+ function / instruction name, not before.
+
Tue Sep 16 11:01:07 1997 Andrew Cagney <cagney@b1.cygnus.com>
* gen.c (insns_bit_useless): Don't treat string fields restricted
diff --git a/sim/igen/igen.c b/sim/igen/igen.c
index f836d64..138072b 100644
--- a/sim/igen/igen.c
+++ b/sim/igen/igen.c
@@ -268,6 +268,9 @@ print_function_name (lf *file,
nr += lf_printf (file, "_");
}
+ /* the function name */
+ nr += print_c_name (file, basename);
+
/* the format name if available */
if (format_name != NULL)
{
@@ -275,9 +278,6 @@ print_function_name (lf *file,
nr += lf_printf (file, "_");
}
- /* the function name */
- nr += print_c_name (file, basename);
-
/* the suffix */
nr += print_opcode_bits (file, expanded_bits);