mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-22 15:47:37 +01:00
Fix PT_SYSCALL ignoring of ip
This commit is contained in:
parent
89e1df2d32
commit
4b3ca293bf
1 changed files with 1 additions and 1 deletions
|
@ -310,7 +310,7 @@ main (int argc, char **argv)
|
|||
#if HAVE_DECL_PTRACE_SYSCALL
|
||||
ptrace (PTRACE_SYSCALL, target_pid, 0, pending_sig);
|
||||
#elif HAVE_DECL_PT_SYSCALL
|
||||
ptrace (PT_SYSCALL, target_pid, 0, pending_sig);
|
||||
ptrace (PT_SYSCALL, target_pid, (caddr_t)1, pending_sig);
|
||||
#else
|
||||
#error Syscall me
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue