1 From 682b25469e66ea45b214e95962671373983c118f Mon Sep 17 00:00:00 2001
2 From: Doug Evans <dje@google.com>
3 Date: Mon, 26 Oct 2015 13:30:57 -0700
4 Subject: [PATCH] Move __SIGRTMIN.
8 * nat/linux-nat.h (__SIGRTMIN): Move here from gdbserver/linux-low.c.
10 gdb/gdbserver/ChangeLog:
12 * linux-low.c (__SIGRTMIN): Move to nat/linux-nat.h.
14 [Arnout: removed the parts that don't apply, including ChangeLog]
15 Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
17 gdb/ChangeLog | 4 ++++
18 gdb/gdbserver/ChangeLog | 4 ++++
19 gdb/gdbserver/linux-low.c | 6 ------
20 gdb/nat/linux-nat.h | 5 +++++
21 4 files changed, 13 insertions(+), 6 deletions(-)
23 diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c
24 index 7ed67c7..e778c4c 100644
25 --- a/gdb/gdbserver/linux-low.c
26 +++ b/gdb/gdbserver/linux-low.c
31 -/* This is the kernel's hard limit. Not to be confused with
34 -#define __SIGRTMIN 32
37 /* Some targets did not define these ptrace constants from the start,
38 so gdbserver defines them locally here. In the future, these may
39 be removed after they are added to asm/ptrace.h. */
40 diff --git a/gdb/nat/linux-nat.h b/gdb/nat/linux-nat.h
41 index 0633fa9..70e6274 100644
42 --- a/gdb/nat/linux-nat.h
43 +++ b/gdb/nat/linux-nat.h
48 +/* This is the kernel's hard limit. Not to be confused with SIGRTMIN. */
50 +#define __SIGRTMIN 32
53 /* Unlike other extended result codes, WSTOPSIG (status) on
54 PTRACE_O_TRACESYSGOOD syscall events doesn't return SIGTRAP, but
55 instead SIGTRAP with bit 7 set. */