diff options
Diffstat (limited to 'rts/posix/Signals.c')
-rw-r--r-- | rts/posix/Signals.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/rts/posix/Signals.c b/rts/posix/Signals.c index 247feba69e..bfc7e82e15 100644 --- a/rts/posix/Signals.c +++ b/rts/posix/Signals.c @@ -536,11 +536,11 @@ static void backtrace_handler(int sig STG_UNUSED) { #ifdef USE_LIBDW - LibDwSession *session = libdw_init(); - Backtrace *bt = libdw_get_backtrace(session); - libdw_print_backtrace(session, stderr, bt); - backtrace_free(bt); - libdw_free(session); + LibdwSession *session = libdwInit(); + Backtrace *bt = libdwGetBacktrace(session); + libdwPrintBacktrace(session, stderr, bt); + backtraceFree(bt); + libdwFree(session); #else fprintf(stderr, "This build does not support backtraces.\n"); #endif |