aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/nm-linux.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2001-07-11 08:15:36 +0000
committerMark Kettenis <kettenis@gnu.org>2001-07-11 08:15:36 +0000
commitf8d13125bf61d0c1e73dde18ebf581e14a4e62a5 (patch)
treee19d17ffd394cea67178e3e6fcfbd25ff5771c79 /gdb/config/nm-linux.h
parentd29d80f20cde02febef0ca3db72c757acf7e7969 (diff)
downloadgdb-f8d13125bf61d0c1e73dde18ebf581e14a4e62a5.zip
gdb-f8d13125bf61d0c1e73dde18ebf581e14a4e62a5.tar.gz
gdb-f8d13125bf61d0c1e73dde18ebf581e14a4e62a5.tar.bz2
* config/tm-linux.h: Do not include <signal.h>. Instead provide
reasonable defaults for REALTIME_LO and REALTIME_HI if they're not already defined. * config/nm-linux.h: Include <signal.h>. [__SIGRTMIN] (REALTIME_LO, REALTIME_HI): Define to __SIGRTMIN and (__SIGRTMAX + 1) respectively.
Diffstat (limited to 'gdb/config/nm-linux.h')
-rw-r--r--gdb/config/nm-linux.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/gdb/config/nm-linux.h b/gdb/config/nm-linux.h
index f1e785c..34840e4 100644
--- a/gdb/config/nm-linux.h
+++ b/gdb/config/nm-linux.h
@@ -1,4 +1,4 @@
-/* Native support for GNU/Linux, for GDB, the GNU debugger.
+/* Native support for GNU/Linux.
Copyright 1999, 2000
Free Software Foundation, Inc.
@@ -54,3 +54,13 @@ extern int linuxthreads_prepare_to_proceed (int step);
#define GDB_GREGSET_T elf_gregset_t
#define GDB_FPREGSET_T elf_fpregset_t
+
+/* Since we're building a native debugger, we can include <signal.h>
+ to find the range of real-time signals. */
+
+#include <signal.h>
+
+#ifdef __SIGRTMIN
+#define REALTIME_LO __SIGRTMIN
+#define REALTIME_HI (__SIGRTMAX + 1)
+#endif