Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/dist Improve error output if executable file format isn'...



details:   https://anonhg.NetBSD.org/src/rev/8e771989c4e7
branches:  trunk
changeset: 499760:8e771989c4e7
user:      wiz <wiz%NetBSD.org@localhost>
date:      Tue Nov 28 18:44:46 2000 +0000

description:
Improve error output if executable file format isn't recognized.

diffstat:

 gnu/dist/gprof/core.c               |  3 ++-
 gnu/dist/toolchain/gprof/corefile.c |  3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 5247db47a32a -r 8e771989c4e7 gnu/dist/gprof/core.c
--- a/gnu/dist/gprof/core.c     Tue Nov 28 16:57:16 2000 +0000
+++ b/gnu/dist/gprof/core.c     Tue Nov 28 18:44:46 2000 +0000
@@ -126,7 +126,8 @@
 
   if (!bfd_check_format (core_bfd, bfd_object))
     {
-      fprintf (stderr, "%s: %s: not in a.out format\n", whoami, a_out_name);
+      fprintf (stderr, "%s: %s: unrecognized executable format\n",
+              whoami, a_out_name);
       done (1);
     }
 
diff -r 5247db47a32a -r 8e771989c4e7 gnu/dist/toolchain/gprof/corefile.c
--- a/gnu/dist/toolchain/gprof/corefile.c       Tue Nov 28 16:57:16 2000 +0000
+++ b/gnu/dist/toolchain/gprof/corefile.c       Tue Nov 28 18:44:46 2000 +0000
@@ -125,7 +125,8 @@
 
   if (!bfd_check_format (core_bfd, bfd_object))
     {
-      fprintf (stderr, _("%s: %s: not in a.out format\n"), whoami, a_out_name);
+      fprintf (stderr, _("%s: %s: unrecognized executable format\n"),
+              whoami, a_out_name);
       done (1);
     }
 



Home | Main Index | Thread Index | Old Index