* linux-nat.c (PTRACE_SETSIGINFO): Define if PTRACE_GETSIGINFO
authorPedro Alves <palves@redhat.com>
Sat, 7 Feb 2009 14:50:25 +0000 (14:50 +0000)
committerPedro Alves <palves@redhat.com>
Sat, 7 Feb 2009 14:50:25 +0000 (14:50 +0000)
isn't defined.

gdb/ChangeLog
gdb/linux-nat.c

index 8b4bcc00ddba6761650ea2774c4d3fcef58be268..3661cffb3bf546c0109c4976508c13270f3c7c47 100644 (file)
@@ -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)
index a54ebb4564e73dadb178dc993655d60eb9ab693c..adb763a6b2b46ffbdb411ff5c2d49f60c74ca2d3 100644 (file)
@@ -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