mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-12-24 04:13:41 +01:00
Correct arguments for Debug().
Shut up warning by using the cast.
This commit is contained in:
parent
d1676f192e
commit
2c50c95cde
1 changed files with 2 additions and 2 deletions
|
@ -307,10 +307,10 @@ x86_local_resume (unw_addr_space_t as, unw_cursor_t *cursor, void *arg)
|
||||||
struct sigcontext *sc = (struct sigcontext *) c->sigcontext_addr;
|
struct sigcontext *sc = (struct sigcontext *) c->sigcontext_addr;
|
||||||
|
|
||||||
Debug (8, "resuming at ip=%x via sigreturn(%p)\n", c->dwarf.ip, sc);
|
Debug (8, "resuming at ip=%x via sigreturn(%p)\n", c->dwarf.ip, sc);
|
||||||
sigreturn((const char *)sc + FREEBSD_UC_MCONTEXT_OFF);
|
sigreturn((ucontext_t *)((const char *)sc + FREEBSD_UC_MCONTEXT_OFF));
|
||||||
} else {
|
} else {
|
||||||
Debug (8, "resuming at ip=%x for sigcontext format %d not implemented\n",
|
Debug (8, "resuming at ip=%x for sigcontext format %d not implemented\n",
|
||||||
c->sigcontext_format);
|
c->dwarf.ip, c->sigcontext_format);
|
||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
return -UNW_EINVAL;
|
return -UNW_EINVAL;
|
||||||
|
|
Loading…
Reference in a new issue