Commit b808b669 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent ddd01cfb
...@@ -182,6 +182,8 @@ void dump_traceback(int fd) ...@@ -182,6 +182,8 @@ void dump_traceback(int fd)
void *pcv[256]; void *pcv[256];
int n; int n;
/* XXX better use https://github.com/ianlancetaylor/libbacktrace
* because backtrace_symbols often does not provide symbolic information */
n = backtrace(pcv, 256); n = backtrace(pcv, 256);
backtrace_symbols_fd(pcv, n, fd); backtrace_symbols_fd(pcv, n, fd);
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment