Here is propoused patch which checks if demangle.h is present.
I consider the print_trace() and all backtrace_symbol.c as a temporary debug crutch. Am I wrong?Tim, what are benefits of your print_trace() comparing to e.g. kdBacktrace or generic backtrace()?