projects
/
cdsspec-compiler.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61fb4ab
)
common: bugfix - always display backtrace output
author
Brian Norris
<banorris@uci.edu>
Tue, 11 Dec 2012 20:59:39 +0000
(12:59 -0800)
committer
Brian Norris
<banorris@uci.edu>
Tue, 11 Dec 2012 20:59:39 +0000
(12:59 -0800)
The stacktrace can be hidden if it doesn't go to 'model_out', instead of
'stdout'.
common.cc
patch
|
blob
|
history
diff --git
a/common.cc
b/common.cc
index c190ed37487e44ff37d9145017dad1bd654085d0..e6c6cce60ccd2e2b73bc22d5ae48129a37c307b1 100644
(file)
--- a/
common.cc
+++ b/
common.cc
@@
-22,7
+22,7
@@
FILE *model_out = stdout;
void print_trace(void)
{
#ifdef CONFIG_STACKTRACE
- print_stacktrace(
std
out);
+ print_stacktrace(
model_
out);
#else
void *array[MAX_TRACE_LEN];
char **strings;