aboutsummaryrefslogtreecommitdiff
path: root/sim/igen/igen.c
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/igen.c
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/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 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);