aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2009-02-07 14:50:25 +0000
committerPedro Alves <palves@redhat.com>2009-02-07 14:50:25 +0000
commit1ef18d0809edd8836482041926344aeb38fc28f3 (patch)
treedd19b6b534f3ff38257c6f99511ba0f1a6c2379d /gdb
parentd721c9339310c5dc1f855734e4685a47ead55b0f (diff)
downloadgdb-1ef18d0809edd8836482041926344aeb38fc28f3.zip
gdb-1ef18d0809edd8836482041926344aeb38fc28f3.tar.gz
gdb-1ef18d0809edd8836482041926344aeb38fc28f3.tar.bz2
* linux-nat.c (PTRACE_SETSIGINFO): Define if PTRACE_GETSIGINFO
isn't defined.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/linux-nat.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 8b4bcc0..3661cff 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2009-02-07 Pedro Alves <pedro@codesourcery.com>
+
+ * linux-nat.c (PTRACE_SETSIGINFO): Define if PTRACE_GETSIGINFO
+ isn't defined.
+
2009-02-06 Pedro Alves <pedro@codesourcery.com>
* amd64-linux-nat.c (compat_int_t, compat_uptr_t, compat_time_t)
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c
index a54ebb4..adb763a 100644
--- a/gdb/linux-nat.c
+++ b/gdb/linux-nat.c
@@ -194,7 +194,8 @@ blocked. */
#endif
#ifndef PTRACE_GETSIGINFO
-#define PTRACE_GETSIGINFO 0x4202
+# define PTRACE_GETSIGINFO 0x4202
+# define PTRACE_SETSIGINFO 0x4203
#endif
/* The single-threaded native GNU/Linux target_ops. We save a pointer for