gdb/testsuite/
[binutils-gdb.git] / gdb / gdb_ptrace.h
index 71b448fb03b2ee13ca5097708907f7e69c1d8682..8ee8c4eea356d5e7fa16a94f016e904d14cc44f0 100644 (file)
    and there is probably no special request that we would be required
    to use when resuming the execution of our program.  */
 #ifndef PT_SYSCALL
-# define PT_SYSCALL PT_CONTINUE
+# ifdef PTRACE_SYSCALL
+#  define PT_SYSCALL PTRACE_SYSCALL
+#else
+#  define PT_SYSCALL PT_CONTINUE
+# endif
 #endif
 
 /* Some systems, in particular DEC OSF/1, Digital Unix, Compaq Tru64