summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gdb/gdb/0008-Use-exorted-definitions-of-SIGRTMIN.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/gdb/gdb/0008-Use-exorted-definitions-of-SIGRTMIN.patch')
-rw-r--r--meta/recipes-devtools/gdb/gdb/0008-Use-exorted-definitions-of-SIGRTMIN.patch16
1 files changed, 7 insertions, 9 deletions
diff --git a/meta/recipes-devtools/gdb/gdb/0008-Use-exorted-definitions-of-SIGRTMIN.patch b/meta/recipes-devtools/gdb/gdb/0008-Use-exorted-definitions-of-SIGRTMIN.patch
index d32352b813..95bec5fd60 100644
--- a/meta/recipes-devtools/gdb/gdb/0008-Use-exorted-definitions-of-SIGRTMIN.patch
+++ b/meta/recipes-devtools/gdb/gdb/0008-Use-exorted-definitions-of-SIGRTMIN.patch
@@ -1,7 +1,7 @@
1From d97878b272bd7c4993f4205983ae8b7ecddbcf82 Mon Sep 17 00:00:00 2001 1From bab0b34672727c50313eb98b8522355cbe1bde36 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 30 Apr 2016 15:31:40 -0700 3Date: Sat, 30 Apr 2016 15:31:40 -0700
4Subject: [PATCH 08/11] Use exorted definitions of SIGRTMIN 4Subject: [PATCH] Use exorted definitions of SIGRTMIN
5 5
6Define W_STOPCODE if not defined already 6Define W_STOPCODE if not defined already
7 7
@@ -14,16 +14,17 @@ https://sourceware.org/bugzilla/show_bug.cgi?id=13012
14Upstream-Status: Submitted 14Upstream-Status: Submitted
15 15
16Signed-off-by: Khem Raj <raj.khem@gmail.com> 16Signed-off-by: Khem Raj <raj.khem@gmail.com>
17
17--- 18---
18 gdb/linux-nat.c | 4 ++-- 19 gdb/linux-nat.c | 4 ++--
19 gdb/nat/linux-nat.h | 4 ++++ 20 gdb/nat/linux-nat.h | 4 ++++
20 2 files changed, 6 insertions(+), 2 deletions(-) 21 2 files changed, 6 insertions(+), 2 deletions(-)
21 22
22diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c 23diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c
23index 64015e7520..acf950c38b 100644 24index 063afe26..fb1d2d5d 100644
24--- a/gdb/linux-nat.c 25--- a/gdb/linux-nat.c
25+++ b/gdb/linux-nat.c 26+++ b/gdb/linux-nat.c
26@@ -4724,6 +4724,6 @@ lin_thread_get_thread_signals (sigset_t *set) 27@@ -4713,6 +4713,6 @@ lin_thread_get_thread_signals (sigset_t *set)
27 /* NPTL reserves the first two RT signals, but does not provide any 28 /* NPTL reserves the first two RT signals, but does not provide any
28 way for the debugger to query the signal numbers - fortunately 29 way for the debugger to query the signal numbers - fortunately
29 they don't change. */ 30 they don't change. */
@@ -33,7 +34,7 @@ index 64015e7520..acf950c38b 100644
33+ sigaddset (set, SIGRTMIN + 1); 34+ sigaddset (set, SIGRTMIN + 1);
34 } 35 }
35diff --git a/gdb/nat/linux-nat.h b/gdb/nat/linux-nat.h 36diff --git a/gdb/nat/linux-nat.h b/gdb/nat/linux-nat.h
36index a90a124d3a..4f3e681962 100644 37index 1e32dd9e..b886305d 100644
37--- a/gdb/nat/linux-nat.h 38--- a/gdb/nat/linux-nat.h
38+++ b/gdb/nat/linux-nat.h 39+++ b/gdb/nat/linux-nat.h
39@@ -90,4 +90,8 @@ extern void linux_stop_lwp (struct lwp_info *lwp); 40@@ -90,4 +90,8 @@ extern void linux_stop_lwp (struct lwp_info *lwp);
@@ -44,7 +45,4 @@ index a90a124d3a..4f3e681962 100644
44+#define W_STOPCODE(sig) ((sig) << 8 | 0x7f) 45+#define W_STOPCODE(sig) ((sig) << 8 | 0x7f)
45+#endif 46+#endif
46+ 47+
47 #endif /* LINUX_NAT_H */ 48 #endif /* NAT_LINUX_NAT_H */
48--
492.18.0
50