From a003fc3b8b27621ca4c3e60cec0ddfebcea0fc72 Mon Sep 17 00:00:00 2001 From: Brian Norris Date: Tue, 11 Dec 2012 12:59:39 -0800 Subject: [PATCH] common: bugfix - always display backtrace output The stacktrace can be hidden if it doesn't go to 'model_out', instead of 'stdout'. --- common.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.34.1