]> granicus.if.org Git - strace/blobdiff - strace.c
tprint_iov*: change address argument type from unsigned long to kernel_ureg_t
[strace] / strace.c
index 1b8b5cca312d94a543900e7ee24c6ea373717a7f..56fdfdee29aae98b2ce69bebc7903692b7334408 100644 (file)
--- a/strace.c
+++ b/strace.c
@@ -1769,8 +1769,14 @@ init(int argc, char *argv[])
        }
 
 #ifdef USE_LIBUNWIND
-       if (stack_trace_enabled)
+       if (stack_trace_enabled) {
+               unsigned int tcbi;
+
                unwind_init();
+               for (tcbi = 0; tcbi < tcbtabsize; ++tcbi) {
+                       unwind_tcb_init(tcbtab[tcbi]);
+               }
+       }
 #endif
 
        /* See if they want to run as another user. */