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

This commit is contained in:
wiz 2000-11-28 18:44:46 +00:00
parent 454f740bd4
commit 779cdb4e70
2 changed files with 4 additions and 2 deletions

View File

@ -126,7 +126,8 @@ DEFUN (core_init, (a_out_name), const char *a_out_name)
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);
}

View File

@ -125,7 +125,8 @@ DEFUN (core_init, (a_out_name), const char *a_out_name)
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);
}