This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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);
     }
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]