diff options
-rw-r--r-- | libubacktrace/arm/backtrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libubacktrace/arm/backtrace.c b/libubacktrace/arm/backtrace.c index d4eca3224..8c8e2a2e2 100644 --- a/libubacktrace/arm/backtrace.c +++ b/libubacktrace/arm/backtrace.c @@ -62,7 +62,7 @@ backtrace_helper (struct _Unwind_Context *ctx, void *a) { struct trace_arg *arg = a; - assert (unwind_getip != NULL); + assert (unwind_getip(ctx) != NULL); /* We are first called with address in the __backtrace function. Skip it. */ if (arg->cnt != -1) |