From: Doug Evans Date: Mon, 26 Oct 2015 20:30:57 +0000 (-0700) Subject: Move __SIGRTMIN. X-Git-Tag: users/hjl/linux/release/2.25.51.0.4~1^2~6^2~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=682b25469e66ea45b214e95962671373983c118f;p=thirdparty%2Fbinutils-gdb.git 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 --git a/gdb/ChangeLog b/gdb/ChangeLog index 9806a42d6e7..ab0178c39cb 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2015-10-26 Doug Evans + + * nat/linux-nat.h (__SIGRTMIN): Move here from gdbserver/linux-low.c. + 2015-10-26 Doug Evans * common/gdb_wait.h (W_STOPCODE): Define, moved here from diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 99973bf24db..1b9e0c4ec50 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,7 @@ +2015-10-26 Doug Evans + + * linux-low.c (__SIGRTMIN): Move to nat/linux-nat.h. + 2015-10-26 Doug Evans * linux-low.c (W_STOPCODE): Moved to common/gdb_wait.h. diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c index 7ed67c7dc51..e778c4c379a 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 0633fa93f98..70e6274ac0d 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. */