python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / gdb / 7.10.1 / 0003-move-__SIGRTMIN.patch
blob38ba1f028a47e6c683a60b1bf4d8d59e64a95cc2
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.
6 gdb/ChangeLog:
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>
16 ---
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
27 @@ -70,12 +70,6 @@
28 #define O_LARGEFILE 0
29 #endif
31 -/* This is the kernel's hard limit. Not to be confused with
32 - SIGRTMIN. */
33 -#ifndef __SIGRTMIN
34 -#define __SIGRTMIN 32
35 -#endif
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
44 @@ -25,6 +25,11 @@
45 struct lwp_info;
46 struct arch_lwp_info;
48 +/* This is the kernel's hard limit. Not to be confused with SIGRTMIN. */
49 +#ifndef __SIGRTMIN
50 +#define __SIGRTMIN 32
51 +#endif
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. */
56 --
57 1.9.4