aboutsummaryrefslogtreecommitdiff
path: root/gprof
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2006-03-22 03:51:02 +0000
committerBen Elliston <bje@au.ibm.com>2006-03-22 03:51:02 +0000
commit11010f5a82bae6b40067c04c33184c70c0c99e10 (patch)
treeb23f7d81d3b89f1f2ff3a5d3ee77d89e2c9dabdc /gprof
parenta21e750c3e0aad664d935c8812171f47f23701a4 (diff)
downloadgdb-11010f5a82bae6b40067c04c33184c70c0c99e10.zip
gdb-11010f5a82bae6b40067c04c33184c70c0c99e10.tar.gz
gdb-11010f5a82bae6b40067c04c33184c70c0c99e10.tar.bz2
* corefile.c (core_init): Report that the executable is not in the
expected executable format rather than "a.out" format.
Diffstat (limited to 'gprof')
-rw-r--r--gprof/ChangeLog5
-rw-r--r--gprof/corefile.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog
index 97d68b0..7ed4a62 100644
--- a/gprof/ChangeLog
+++ b/gprof/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
2006-03-09 Nick Clifton <nickc@redhat.com>
* po/sv.po: Updated Swedish translation.
diff --git a/gprof/corefile.c b/gprof/corefile.c
index e02d958..a8620ef 100644
--- a/gprof/corefile.c
+++ b/gprof/corefile.c
@@ -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);
}