From b1d6f6efe425c93ba5d692f6c6be53d3ef52606d Mon Sep 17 00:00:00 2001 From: Gregory LEOCADIE Date: Thu, 5 Jan 2023 16:13:29 +0100 Subject: Adjust backtrace2 signature --- tests/Gtest-trace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/Gtest-trace.c b/tests/Gtest-trace.c index e0a5d64d..5f22f1fb 100644 --- a/tests/Gtest-trace.c +++ b/tests/Gtest-trace.c @@ -174,7 +174,7 @@ do_backtrace_with_context(void *context) if (verbose) printf ("\n\tvia unw_backtrace2():\n"); - m = unw_backtrace2 (addresses[1], 128, (unw_context_t*)context); + m = unw_backtrace2 (addresses[1], 128, (unw_context_t*)context, UNW_INIT_SIGNAL_FRAME); if (verbose) for (i = 0; i < m; ++i) -- cgit v1.2.1