From d20530f7ab84f20584518d352759c4d643518092 Mon Sep 17 00:00:00 2001 From: "mostang.com!davidm" Date: Sat, 8 Feb 2003 10:10:59 +0000 Subject: [PATCH] (do_backtrace): Adjust for new "offset" argument in unw_get_proc_name(). (Logical change 1.45) --- tests/test-ptrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-ptrace.c b/tests/test-ptrace.c index 5b96bc91..8a20e0ff 100644 --- a/tests/test-ptrace.c +++ b/tests/test-ptrace.c @@ -59,7 +59,7 @@ do_backtrace (pid_t target_pid) { unw_get_reg (&c, UNW_REG_IP, &ip); unw_get_reg (&c, UNW_REG_SP, &sp); - unw_get_proc_name (&c, buf, sizeof (buf)); + unw_get_proc_name (&c, buf, sizeof (buf), NULL); printf ("%016lx %-32s (sp=%016lx)\n", (long) ip, buf, (long) sp);