From: Brian Norris Date: Tue, 11 Dec 2012 20:59:39 +0000 (-0800) Subject: common: bugfix - always display backtrace output X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a003fc3b8b27621ca4c3e60cec0ddfebcea0fc72;p=cdsspec-compiler.git common: bugfix - always display backtrace output The stacktrace can be hidden if it doesn't go to 'model_out', instead of 'stdout'. --- diff --git a/common.cc b/common.cc index c190ed3..e6c6cce 100644 --- a/common.cc +++ b/common.cc @@ -22,7 +22,7 @@ FILE *model_out = stdout; void print_trace(void) { #ifdef CONFIG_STACKTRACE - print_stacktrace(stdout); + print_stacktrace(model_out); #else void *array[MAX_TRACE_LEN]; char **strings;