libbacktrace patch committed: Avoid multiple error messages
Ian Lance Taylor
iant@google.com
Sat Sep 29 18:02:00 GMT 2012
PR 54749 points out that if libbacktrace fails to read the debug info
from the executable (in the case of that PR, due to memory exhaustion)
the compiler will print multiple error messages. The library already
has a mechanism to avoid this, and this patch uses that mechanism.
Bootstrapped and ran libbacktrace testsuite on x86_64-unknown-linux-gnu.
Committed to mainline.
Ian
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 407 bytes
Desc: patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120929/6737cd4a/attachment.bin>
More information about the Gcc-patches
mailing list