Commit | Line | Data |
---|---|---|
c2d11a7d JM |
1 | /* Native support for GNU/Linux, for GDB, the GNU debugger. |
2 | Copyright (C) 1999 | |
3 | Free Software Foundation, Inc. | |
4 | ||
5 | This file is part of GDB. | |
6 | ||
7 | This program is free software; you can redistribute it and/or modify | |
8 | it under the terms of the GNU General Public License as published by | |
9 | the Free Software Foundation; either version 2 of the License, or | |
10 | (at your option) any later version. | |
11 | ||
12 | This program is distributed in the hope that it will be useful, | |
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | GNU General Public License for more details. | |
16 | ||
17 | You should have received a copy of the GNU General Public License | |
18 | along with this program; if not, write to the Free Software | |
19 | Foundation, Inc., 59 Temple Place - Suite 330, | |
20 | Boston, MA 02111-1307, USA. */ | |
21 | ||
22 | /* Some versions of Linux have real-time signal support in the C library, and | |
23 | some don't. We have to include this file to find out. */ | |
24 | #include <signal.h> | |
25 | ||
26 | #ifdef __SIGRTMIN | |
27 | #define REALTIME_LO __SIGRTMIN | |
28 | #define REALTIME_HI (__SIGRTMAX + 1) | |
29 | #else | |
30 | #define REALTIME_LO 32 | |
31 | #define REALTIME_HI 64 | |
32 | #endif | |
33 | ||
34 | /* We need this file for the SOLIB_TRAMPOLINE stuff. */ | |
35 | ||
36 | #include "tm-sysv4.h" | |
1a8629c7 MS |
37 | |
38 | /* We define SVR4_SHARED_LIBS unconditionally, on the assumption that | |
39 | link.h is available on all linux platforms. For I386 and SH3/4, | |
40 | we hard-code the information rather than use link.h anyway (for | |
41 | the benefit of cross-debugging). We may move to doing that for | |
42 | other architectures as well. */ | |
43 | ||
44 | #define SVR4_SHARED_LIBS | |
45 | #include "solib.h" /* Support for shared libraries. */ |