mirror of
https://github.com/FEX-Emu/libunwind.git
synced 2025-03-02 03:45:36 +00:00
freebsd: Account for the possible ERESTART handling of the syscalls.
This commit is contained in:
parent
5f440b4af2
commit
3bb74aae3d
@ -77,8 +77,9 @@ eb fd jmp 0b
|
||||
*/
|
||||
if ((ret = (*a->access_mem) (as, ip - 5, &b0, 0, arg)) < 0)
|
||||
return (0);
|
||||
b0 &= 0xffffffffff;
|
||||
if (b0 == 0x000000050fca8949)
|
||||
Debug (12, "b0 0x%lx\n", b0);
|
||||
if ((b0 & 0xffffffffffffff) == 0x050fca89490000 ||
|
||||
(b0 & 0xffffffffff) == 0x050fca8949)
|
||||
{
|
||||
c->sigcontext_format = X86_64_SCF_FREEBSD_SYSCALL;
|
||||
return (c->sigcontext_format);
|
||||
|
Loading…
x
Reference in New Issue
Block a user