This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
PATCH: improve gprof error message
- From: Ben Elliston <bje at au1 dot ibm dot com>
- To: binutils at sourceware dot org
- Date: Wed, 22 Mar 2006 14:44:00 +1100
- Subject: PATCH: improve gprof error message
Pretty obvious, I'd have thought.
Okay for the trunk?
2006-03-21 Ben Elliston <bje@au.ibm.com>
* corefile.c (core_init): Report that the executable is not in the
expected executable format rather than "a.out" format.
Index: corefile.c
===================================================================
RCS file: /cvs/src/src/gprof/corefile.c,v
retrieving revision 1.23
diff -u -p -r1.23 corefile.c
--- corefile.c 9 May 2005 06:55:24 -0000 1.23
+++ corefile.c 22 Mar 2006 03:42:16 -0000
@@ -155,7 +155,7 @@ core_init (const char *aout_name)
if (!bfd_check_format (core_bfd, bfd_object))
{
- fprintf (stderr, _("%s: %s: not in a.out format\n"), whoami, aout_name);
+ fprintf (stderr, _("%s: %s: not in executable format\n"), whoami, aout_name);
done (1);
}