This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Move __SIGRTMIN.


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=682b25469e66ea45b214e95962671373983c118f

commit 682b25469e66ea45b214e95962671373983c118f
Author: Doug Evans <dje@google.com>
Date:   Mon Oct 26 13:30:57 2015 -0700

    Move __SIGRTMIN.
    
    gdb/ChangeLog:
    
    	* nat/linux-nat.h (__SIGRTMIN): Move here from gdbserver/linux-low.c.
    
    gdb/gdbserver/ChangeLog:
    
    	* linux-low.c (__SIGRTMIN): Move to nat/linux-nat.h.

Diff:
---
 gdb/ChangeLog             | 4 ++++
 gdb/gdbserver/ChangeLog   | 4 ++++
 gdb/gdbserver/linux-low.c | 6 ------
 gdb/nat/linux-nat.h       | 5 +++++
 4 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 9806a42..ab0178c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
 2015-10-26  Doug Evans  <dje@google.com>
 
+	* nat/linux-nat.h (__SIGRTMIN): Move here from gdbserver/linux-low.c.
+
+2015-10-26  Doug Evans  <dje@google.com>
+
 	* common/gdb_wait.h (W_STOPCODE): Define, moved here from
 	gdbserver/linux-low.c.
 	(WSETSTOP): Simplify.
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 99973bf..1b9e0c4 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,5 +1,9 @@
 2015-10-26  Doug Evans  <dje@google.com>
 
+	* linux-low.c (__SIGRTMIN): Move to nat/linux-nat.h.
+
+2015-10-26  Doug Evans  <dje@google.com>
+
 	* linux-low.c (W_STOPCODE): Moved to common/gdb_wait.h.
 
 2015-10-26  Doug Evans  <dje@google.com>
diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c
index 7ed67c7..e778c4c 100644
--- a/gdb/gdbserver/linux-low.c
+++ b/gdb/gdbserver/linux-low.c
@@ -70,12 +70,6 @@
 #define O_LARGEFILE 0
 #endif
 
-/* This is the kernel's hard limit.  Not to be confused with
-   SIGRTMIN.  */
-#ifndef __SIGRTMIN
-#define __SIGRTMIN 32
-#endif
-
 /* Some targets did not define these ptrace constants from the start,
    so gdbserver defines them locally here.  In the future, these may
    be removed after they are added to asm/ptrace.h.  */
diff --git a/gdb/nat/linux-nat.h b/gdb/nat/linux-nat.h
index 0633fa9..70e6274 100644
--- a/gdb/nat/linux-nat.h
+++ b/gdb/nat/linux-nat.h
@@ -25,6 +25,11 @@
 struct lwp_info;
 struct arch_lwp_info;
 
+/* This is the kernel's hard limit.  Not to be confused with SIGRTMIN.  */
+#ifndef __SIGRTMIN
+#define __SIGRTMIN 32
+#endif
+
 /* Unlike other extended result codes, WSTOPSIG (status) on
    PTRACE_O_TRACESYSGOOD syscall events doesn't return SIGTRAP, but
    instead SIGTRAP with bit 7 set.  */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]