aboutsummaryrefslogtreecommitdiff
path: root/sim/igen/igen.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-09-19 04:41:01 +0000
committerAndrew Cagney <cagney@redhat.com>1997-09-19 04:41:01 +0000
commit4410c4b9254f6b29bab904a01cddd0ded8f51365 (patch)
tree29c5f105c9e8c248a3a3321f67365cf0147e602f /sim/igen/igen.c
parentbd4c35cc6dc11b11321550b8d4d873571cb0b92c (diff)
downloadgdb-4410c4b9254f6b29bab904a01cddd0ded8f51365.zip
gdb-4410c4b9254f6b29bab904a01cddd0ded8f51365.tar.gz
gdb-4410c4b9254f6b29bab904a01cddd0ded8f51365.tar.bz2
Correctly locate `_' in generated names.
Diffstat (limited to 'sim/igen/igen.c')
-rw-r--r--sim/igen/igen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/igen/igen.c b/sim/igen/igen.c
index 138072b..28e6e15 100644
--- a/sim/igen/igen.c
+++ b/sim/igen/igen.c
@@ -274,8 +274,8 @@ print_function_name (lf *file,
/* the format name if available */
if (format_name != NULL)
{
- nr += print_c_name (file, format_name);
nr += lf_printf (file, "_");
+ nr += print_c_name (file, format_name);
}
/* the suffix */