[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gprof in binutils-020103 does not obey --disable-nls
From: |
Nathan Neulinger |
Subject: |
gprof in binutils-020103 does not obey --disable-nls |
Date: |
Mon, 7 Jan 2002 09:03:33 -0600 |
User-agent: |
Mutt/1.3.17i |
Here's a simple patch to correct gprof/gmon_io.c.
-- Nathan
------------------------------------------------------------
Nathan Neulinger EMail: address@hidden
University of Missouri - Rolla Phone: (573) 341-4841
Computing Services Fax: (573) 341-4216
--- /afs/.umr.edu/software/gcc303/.oldfiles/src/binutils-latest/gprof/gmon_io.c
Wed Jan 2 09:55:48 2002
+++ /afs/umr.edu/software/gcc303/src/binutils-latest/gprof/gmon_io.c Mon Jan
7 08:11:30 2002
@@ -447,12 +447,18 @@
{
printf (_("File `%s' (version %d) contains:\n"),
filename, gmon_file_version);
+#if defined(ENABLE_NLS)
printf (ngettext ("\t%d histogram record\n",
"\t%d histogram records\n", nhist), nhist);
printf (ngettext ("\t%d call-graph record\n",
"\t%d call-graph records\n", narcs), narcs);
printf (ngettext ("\t%d basic-block count record\n",
"\t%d basic-block count records\n", nbbs), nbbs);
+#else
+ printf ("\t%d histogram records\n", nhist);
+ printf ("\t%d call-graph records\n", narcs);
+ printf ("\t%d basic-block count records\n", nbbs);
+#endif
first_output = FALSE;
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gprof in binutils-020103 does not obey --disable-nls,
Nathan Neulinger <=