• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/gdb/7.10.1/0003-move-__SIGRTMIN.patch
Arnout VandecappelleArnout Vandecappelle committed 07408bbf10a28 Feb 2016
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
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.
5
​
6
gdb/ChangeLog:
7
​
8
    * nat/linux-nat.h (__SIGRTMIN): Move here from gdbserver/linux-low.c.
9
​
10
gdb/gdbserver/ChangeLog:
11
​
12
    * linux-low.c (__SIGRTMIN): Move to nat/linux-nat.h.
13
​
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(-)
22
​
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
30
 
31
-/* This is the kernel's hard limit.  Not to be confused with
32
-   SIGRTMIN.  */
33
-#ifndef __SIGRTMIN
34
-#define __SIGRTMIN 32
35
-#endif
36
-
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;
47
 
48
+/* This is the kernel's hard limit.  Not to be confused with SIGRTMIN.  */
49
+#ifndef __SIGRTMIN
50
+#define __SIGRTMIN 32
51
+#endif
52
+
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
58
​
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.