1
0
Fork 0
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:
Konstantin Belousov 2010-03-08 17:01:31 +02:00
parent 89e1df2d32
commit 4b3ca293bf

View file

@ -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