This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Backtrace library [3/3]


On 2012-09-12 10:48 , Ian Lance Taylor wrote:
On Tue, Sep 11, 2012 at 3:55 PM, Ian Lance Taylor <iant@google.com> wrote:

This patch is the actual implementation of libbacktrace.

This is the updated version of this patch with a state parameter.

This is OK.


Thank you so much for doing this! This will help reducing the testing matrix a bit. There should be fewer differences between --enable-checking values.

So, now we only need to hook gcc_assert to use this library. I think we want a --param to specify how deep the backtrace should be. A default value of 3-5 stack frames should be good to start, I think.


Diego.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]