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.
This commit is contained in:
Doug Evans 2015-10-26 13:30:57 -07:00
parent 963843d4d0
commit 682b25469e
4 changed files with 13 additions and 6 deletions

View File

@ -1,3 +1,7 @@
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

View File

@ -1,3 +1,7 @@
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.

View File

@ -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. */

View File

@ -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. */