aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-nat.c
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/linux-nat.c
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/linux-nat.c')
-rw-r--r--gdb/linux-nat.c3
1 files changed, 2 insertions, 1 deletions
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