aboutsummaryrefslogtreecommitdiffstats
path: root/main/gdb/musl-signals.patch
blob: 019aa858f38bb50fdf8abc4aa9e841bf5a10da17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff --git gdb-7.12/gdb/common/signals.c gdb-fixed/gdb/common/signals.c
index f84935d..413ff1d 100644
--- gdb-7.12/gdb/common/signals.c
+++ gdb-fixed/gdb/common/signals.c
@@ -31,6 +31,13 @@ struct gdbarch;
    _available_ realtime signal, not the lowest supported; glibc takes
    several for its own use.  */

+#ifndef __SIGRTMIN
+# define __SIGRTMIN 32
+#endif
+#ifndef __SIGRTMAX
+# define __SIGRTMAX _NSIG
+#endif
+
 #ifndef REALTIME_LO
 # if defined(__SIGRTMIN)
 #  define REALTIME_LO __SIGRTMIN