diff options
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.patch | 14 |
1 files changed, 7 insertions, 7 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 ae9cb8c0e2..4f64dea254 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,4 +1,4 @@ | |||
1 | From aacd77184da1328908da41c9fdb55ad881fa0e99 Mon Sep 17 00:00:00 2001 | 1 | From d3f240b38eed7cd08f6c50ea896572f1327b437a Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sat, 30 Apr 2016 15:31:40 -0700 | 3 | Date: Sat, 30 Apr 2016 15:31:40 -0700 |
4 | Subject: [PATCH 08/10] Use exorted definitions of SIGRTMIN | 4 | Subject: [PATCH 08/10] Use exorted definitions of SIGRTMIN |
@@ -20,10 +20,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
20 | 2 files changed, 6 insertions(+), 2 deletions(-) | 20 | 2 files changed, 6 insertions(+), 2 deletions(-) |
21 | 21 | ||
22 | diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c | 22 | diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c |
23 | index 5d5efa0af4..e3420b49a0 100644 | 23 | index 8b29245c3d..f424ae9711 100644 |
24 | --- a/gdb/linux-nat.c | 24 | --- a/gdb/linux-nat.c |
25 | +++ b/gdb/linux-nat.c | 25 | +++ b/gdb/linux-nat.c |
26 | @@ -5022,6 +5022,6 @@ lin_thread_get_thread_signals (sigset_t *set) | 26 | @@ -5021,6 +5021,6 @@ lin_thread_get_thread_signals (sigset_t *set) |
27 | /* NPTL reserves the first two RT signals, but does not provide any | 27 | /* NPTL reserves the first two RT signals, but does not provide any |
28 | way for the debugger to query the signal numbers - fortunately | 28 | way for the debugger to query the signal numbers - fortunately |
29 | they don't change. */ | 29 | they don't change. */ |
@@ -33,12 +33,12 @@ index 5d5efa0af4..e3420b49a0 100644 | |||
33 | + sigaddset (set, SIGRTMIN + 1); | 33 | + sigaddset (set, SIGRTMIN + 1); |
34 | } | 34 | } |
35 | diff --git a/gdb/nat/linux-nat.h b/gdb/nat/linux-nat.h | 35 | diff --git a/gdb/nat/linux-nat.h b/gdb/nat/linux-nat.h |
36 | index 2b485db141..d058afcde8 100644 | 36 | index 7dd18fefff..35137ab34f 100644 |
37 | --- a/gdb/nat/linux-nat.h | 37 | --- a/gdb/nat/linux-nat.h |
38 | +++ b/gdb/nat/linux-nat.h | 38 | +++ b/gdb/nat/linux-nat.h |
39 | @@ -85,4 +85,8 @@ extern enum target_stop_reason lwp_stop_reason (struct lwp_info *lwp); | 39 | @@ -90,4 +90,8 @@ extern void linux_stop_lwp (struct lwp_info *lwp); |
40 | 40 | ||
41 | extern void linux_stop_lwp (struct lwp_info *lwp); | 41 | extern int lwp_is_stepping (struct lwp_info *lwp); |
42 | 42 | ||
43 | +#ifndef W_STOPCODE | 43 | +#ifndef W_STOPCODE |
44 | +#define W_STOPCODE(sig) ((sig) << 8 | 0x7f) | 44 | +#define W_STOPCODE(sig) ((sig) << 8 | 0x7f) |
@@ -46,5 +46,5 @@ index 2b485db141..d058afcde8 100644 | |||
46 | + | 46 | + |
47 | #endif /* LINUX_NAT_H */ | 47 | #endif /* LINUX_NAT_H */ |
48 | -- | 48 | -- |
49 | 2.11.0 | 49 | 2.13.1 |
50 | 50 | ||