aboutsummaryrefslogtreecommitdiff
path: root/gdb/nat
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2015-10-26 13:30:57 -0700
committerDoug Evans <dje@google.com>2015-10-26 13:30:57 -0700
commit682b25469e66ea45b214e95962671373983c118f (patch)
treed3aeabb0ebc9343aa212a735df8069ec017f7160 /gdb/nat
parent963843d4d07aef6caa296dacf191f8adc9518596 (diff)
downloadgdb-682b25469e66ea45b214e95962671373983c118f.zip
gdb-682b25469e66ea45b214e95962671373983c118f.tar.gz
gdb-682b25469e66ea45b214e95962671373983c118f.tar.bz2
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.
Diffstat (limited to 'gdb/nat')
-rw-r--r--gdb/nat/linux-nat.h5
1 files changed, 5 insertions, 0 deletions
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. */