diff options
Diffstat (limited to 'gdb/gdb_ptrace.h')
-rw-r--r-- | gdb/gdb_ptrace.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/gdb_ptrace.h b/gdb/gdb_ptrace.h index 71b448fb03b..8ee8c4eea35 100644 --- 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 -# 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 |