aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-10-06 07:40:44 +0000
committerAlan Modra <amodra@gmail.com>2001-10-06 07:40:44 +0000
commitaec2f561889089b3539a5c50627d4759e12abfe6 (patch)
treeb9675b989b9131c32b3d7f4b8825255b992b4c3a /bfd/bfd.c
parent50b4d48631a8cae805300568dee0bd90771e84e9 (diff)
downloadgdb-aec2f561889089b3539a5c50627d4759e12abfe6.zip
gdb-aec2f561889089b3539a5c50627d4759e12abfe6.tar.gz
gdb-aec2f561889089b3539a5c50627d4759e12abfe6.tar.bz2
* bfd.c (bfd_assert): Report bfd version.
(_bfd_abort): Likewise.
Diffstat (limited to 'bfd/bfd.c')
-rw-r--r--bfd/bfd.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/bfd/bfd.c b/bfd/bfd.c
index 0dd4289..b70139d 100644
--- a/bfd/bfd.c
+++ b/bfd/bfd.c
@@ -697,7 +697,8 @@ bfd_assert (file, line)
const char *file;
int line;
{
- (*_bfd_error_handler) (_("bfd assertion fail %s:%d"), file, line);
+ (*_bfd_error_handler) (_("BFD %s assertion fail %s:%d"),
+ BFD_VERSION_STRING, file, line);
}
/* A more or less friendly abort message. In libbfd.h abort is
@@ -715,12 +716,12 @@ _bfd_abort (file, line, fn)
{
if (fn != NULL)
(*_bfd_error_handler)
- (_("BFD internal error, aborting at %s line %d in %s\n"),
- file, line, fn);
+ (_("BFD %s internal error, aborting at %s line %d in %s\n"),
+ BFD_VERSION_STRING, file, line, fn);
else
(*_bfd_error_handler)
- (_("BFD internal error, aborting at %s line %d\n"),
- file, line);
+ (_("BFD %sinternal error, aborting at %s line %d\n"),
+ BFD_VERSION_STRING, file, line);
(*_bfd_error_handler) (_("Please report this bug.\n"));
xexit (EXIT_FAILURE);
}