From 1ef18d0809edd8836482041926344aeb38fc28f3 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Sat, 7 Feb 2009 14:50:25 +0000 Subject: [PATCH] * linux-nat.c (PTRACE_SETSIGINFO): Define if PTRACE_GETSIGINFO isn't defined. --- gdb/ChangeLog | 5 +++++ gdb/linux-nat.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8b4bcc00ddb..3661cffb3bf 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2009-02-07 Pedro Alves + + * linux-nat.c (PTRACE_SETSIGINFO): Define if PTRACE_GETSIGINFO + isn't defined. + 2009-02-06 Pedro Alves * 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 a54ebb4564e..adb763a6b2b 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 -- 2.30.2