aboutsummaryrefslogtreecommitdiff
path: root/gdb/signals/signals.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2006-11-28 19:45:07 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2006-11-28 19:45:07 +0000
commit0b75775590156c3315ee61078f8da440bcc78153 (patch)
tree2c13862fdb8fe0f4904e5cef029d23d261ef1119 /gdb/signals/signals.c
parent51b57b6b26e4c4780d5f6f7ffacca721e75ff039 (diff)
downloadgdb-0b75775590156c3315ee61078f8da440bcc78153.zip
gdb-0b75775590156c3315ee61078f8da440bcc78153.tar.gz
gdb-0b75775590156c3315ee61078f8da440bcc78153.tar.bz2
* config/nm-linux.h: Do not include <signal.h>.
(REALTIME_LO, REALTIME_HI): Do not define. * signals/signals.c (REALTIME_HI): Fix off-by-one bug.
Diffstat (limited to 'gdb/signals/signals.c')
-rw-r--r--gdb/signals/signals.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/signals/signals.c b/gdb/signals/signals.c
index cc7ab80..63eb333 100644
--- a/gdb/signals/signals.c
+++ b/gdb/signals/signals.c
@@ -37,10 +37,10 @@
#ifndef REALTIME_LO
# if defined(__SIGRTMIN)
# define REALTIME_LO __SIGRTMIN
-# define REALTIME_HI __SIGRTMAX
+# define REALTIME_HI (__SIGRTMAX + 1)
# elif defined(SIGRTMIN)
# define REALTIME_LO SIGRTMIN
-# define REALTIME_HI SIGRTMAX
+# define REALTIME_HI (SIGRTMAX + 1)
# endif
#endif