summaryrefslogtreecommitdiffstats
path: root/gdb/gdb_ptrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdb_ptrace.h')
-rw-r--r--gdb/gdb_ptrace.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/gdb_ptrace.h b/gdb/gdb_ptrace.h
index 7d27e3e058..1e3af45740 100644
--- a/gdb/gdb_ptrace.h
+++ b/gdb/gdb_ptrace.h
@@ -1,6 +1,6 @@
/* Portable <sys/ptrace.h>
- Copyright 2004 Free Software Foundation, Inc.
+ Copyright 2004, 2005 Free Software Foundation, Inc.
This file is part of GDB.
@@ -41,6 +41,10 @@
/* No need to include <unistd.h> since it's already included by
"defs.h". */
+#ifndef PT_TRACE_ME
+# define PT_TRACE_ME 0
+#endif
+
#ifndef PT_READ_I
# define PT_READ_I 1 /* Read word in child's I space. */
#endif
OpenPOWER on IntegriCloud