re PR other/54749 (libbacktrace)

PR other/54749
	* fileline.c (fileline_initialize): Pass errnum as -1 when
	reporting that we could not read executable information after a
	previous failure.

From-SVN: r191855
This commit is contained in:
Ian Lance Taylor 2012-09-29 17:50:54 +00:00 committed by Ian Lance Taylor
parent 7c0de75353
commit 8a447b3d4d
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2012-09-29 Ian Lance Taylor <iant@google.com>
PR other/54749
* fileline.c (fileline_initialize): Pass errnum as -1 when
reporting that we could not read executable information after a
previous failure.
2012-09-27 Ian Lance Taylor <iant@google.com>
PR bootstrap/54732

View file

@ -63,7 +63,7 @@ fileline_initialize (struct backtrace_state *state,
if (failed)
{
error_callback (data, "failed to read executable information", 0);
error_callback (data, "failed to read executable information", -1);
return 0;
}