Move __SIGRTMIN.
authorDoug Evans <dje@google.com>
Mon, 26 Oct 2015 20:30:57 +0000 (13:30 -0700)
committerDoug Evans <dje@google.com>
Mon, 26 Oct 2015 20:30:57 +0000 (13:30 -0700)
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.

gdb/ChangeLog
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c
gdb/nat/linux-nat.h

index 9806a42..ab0178c 100644 (file)
@@ -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.
index 99973bf..1b9e0c4 100644 (file)
@@ -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>
index 7ed67c7..e778c4c 100644 (file)
 #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.  */
index 0633fa9..70e6274 100644 (file)
 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.  */