mirror of
https://github.com/FEX-Emu/libunwind.git
synced 2024-12-12 17:06:00 +00:00
(do_backtrace): Adjust for new "offset" argument in unw_get_proc_name().
(Logical change 1.45)
This commit is contained in:
parent
5f82f8e557
commit
d20530f7ab
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user