1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-26 00:57:39 +01:00

(do_backtrace): Adjust for new "offset" argument in unw_get_proc_name().

(Logical change 1.45)
This commit is contained in:
mostang.com!davidm 2003-02-08 10:10:59 +00:00
parent 5f82f8e557
commit d20530f7ab

View file

@ -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);