aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-nat.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-10-02 16:33:35 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-10-02 16:33:35 +0000
commit02d3ff8c47852d55db40850ca078e88c0de6131a (patch)
tree0cd118216514dc3a2c5b4f49090d25cb87e327e6 /gdb/linux-nat.c
parent4577549b8f2c2839976293166e7475401d9e21f2 (diff)
downloadfsf-binutils-gdb-02d3ff8c47852d55db40850ca078e88c0de6131a.zip
fsf-binutils-gdb-02d3ff8c47852d55db40850ca078e88c0de6131a.tar.gz
fsf-binutils-gdb-02d3ff8c47852d55db40850ca078e88c0de6131a.tar.bz2
2007-10-02 Markus Deuling <deuling@de.ibm.com>
* linux-nat.c (PTRACE_GETSIGINFO): Add define.
Diffstat (limited to 'gdb/linux-nat.c')
-rw-r--r--gdb/linux-nat.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c
index 18c2800..20ae49d 100644
--- a/gdb/linux-nat.c
+++ b/gdb/linux-nat.c
@@ -84,6 +84,10 @@
#define __WALL 0x40000000 /* Wait for any child. */
#endif
+#ifndef PTRACE_GETSIGINFO
+#define PTRACE_GETSIGINFO 0x4202
+#endif
+
/* The single-threaded native GNU/Linux target_ops. We save a pointer for
the use of the multi-threaded target. */
static struct target_ops *linux_ops;