]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR other/54749 (libbacktrace)
authorIan Lance Taylor <iant@google.com>
Sat, 29 Sep 2012 17:50:54 +0000 (17:50 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Sat, 29 Sep 2012 17:50:54 +0000 (17:50 +0000)
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

libbacktrace/ChangeLog
libbacktrace/fileline.c

index c7702baf3bd01558350b1537144e4aafa1f945b8..c5725793f2fc5661a7083fa2baef49a067b56a60 100644 (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
index 6aeaf40159fbd44c923a891b944df27005e669cc..4efd19b059501e66445efe78e621974a750a8e43 100644 (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;
     }