mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-22 23:47:39 +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
|
#if HAVE_DECL_PTRACE_SYSCALL
|
||||||
ptrace (PTRACE_SYSCALL, target_pid, 0, pending_sig);
|
ptrace (PTRACE_SYSCALL, target_pid, 0, pending_sig);
|
||||||
#elif HAVE_DECL_PT_SYSCALL
|
#elif HAVE_DECL_PT_SYSCALL
|
||||||
ptrace (PT_SYSCALL, target_pid, 0, pending_sig);
|
ptrace (PT_SYSCALL, target_pid, (caddr_t)1, pending_sig);
|
||||||
#else
|
#else
|
||||||
#error Syscall me
|
#error Syscall me
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue