On 2012-09-20 22:33 , Ian Lance Taylor wrote:
gcc/:
2012-09-17 Ian Lance Taylor <i...@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 <i...@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.