From 02d3ff8c47852d55db40850ca078e88c0de6131a Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Tue, 2 Oct 2007 16:33:35 +0000 Subject: [PATCH] 2007-10-02 Markus Deuling * linux-nat.c (PTRACE_GETSIGINFO): Add define. --- gdb/ChangeLog | 4 ++++ gdb/linux-nat.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b20f5175b0..4632cbff6c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2007-10-02 Markus Deuling + + * linux-nat.c (PTRACE_GETSIGINFO): Add define. + 2007-10-02 Mark Mitchell * mingw-hdep.c (gdb_select): Stop helper threads before returning. diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c index 18c28006b0..20ae49d387 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; -- 2.34.1