aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
parent4577549b8f2c2839976293166e7475401d9e21f2 (diff)
downloadgdb-02d3ff8c47852d55db40850ca078e88c0de6131a.zip
gdb-02d3ff8c47852d55db40850ca078e88c0de6131a.tar.gz
gdb-02d3ff8c47852d55db40850ca078e88c0de6131a.tar.bz2
2007-10-02 Markus Deuling <deuling@de.ibm.com>
* linux-nat.c (PTRACE_GETSIGINFO): Add define.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/linux-nat.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b20f517..4632cbf 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2007-10-02 Markus Deuling <deuling@de.ibm.com>
+
+ * linux-nat.c (PTRACE_GETSIGINFO): Add define.
+
2007-10-02 Mark Mitchell <mark@codesourcery.com>
* mingw-hdep.c (gdb_select): Stop helper threads before returning.
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;