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: Ping: PATCH RFA: Print backtrace on ICE


On 2012-09-20 22:33 , Ian Lance Taylor wrote:

gcc/:

2012-09-17 Ian Lance Taylor <iant@google.com>

         * diagnostic.c: Include "demangle.h" and "backtrace.h".
         (bt_stop): New static array.
         (bt_callback, bt_err_callback): New static functions.
         (diagnostic_action_after_output): Call backtrace_full for DK_ICE.
         * Makefile.in (BACKTRACE): New variable.
         (BACKTRACEINC, LIBBACKTRACE): New variables.
         (BACKTRACE_H): New variable.
         (LIBDEPS, LIBS): Add $(LIBBACKTRACE).
         (INCLUDES): Add $(BACKTRACEINC).
         (diagnostic.o): Depend upon $(DEMANGLE_H) and $(BACKTRACE_H).

./:

2012-09-17 Ian Lance Taylor <iant@google.com>

         * Makefile.def: Make all-gcc depend on all-libbacktrace.
         * Makefile.in: Rebuild.

I wanted a --param to control it, but I agree that it can be added later. This looks OK to me. Thanks!



Diego.



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