projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gdb/testsuite/
[binutils-gdb.git]
/
gdb
/
gdb_ptrace.h
diff --git
a/gdb/gdb_ptrace.h
b/gdb/gdb_ptrace.h
index 71b448fb03b2ee13ca5097708907f7e69c1d8682..8ee8c4eea356d5e7fa16a94f016e904d14cc44f0 100644
(file)
--- a/
gdb/gdb_ptrace.h
+++ b/
gdb/gdb_ptrace.h
@@
-115,7
+115,11
@@
and there is probably no special request that we would be required
to use when resuming the execution of our program. */
#ifndef PT_SYSCALL
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
#endif
/* Some systems, in particular DEC OSF/1, Digital Unix, Compaq Tru64