* NEWS: Mention native Windows support.
[deliverable/binutils-gdb.git] / gdb / config / nm-linux.h
1 /* Native support for GNU/Linux.
2
3 Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005
4 Free Software Foundation, Inc.
5
6 This file is part of GDB.
7
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2 of the License, or
11 (at your option) any later version.
12
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 59 Temple Place - Suite 330,
21 Boston, MA 02111-1307, USA. */
22
23 struct target_ops;
24
25 /* GNU/Linux is SVR4-ish but its /proc file system isn't. */
26 #undef USE_PROC_FS
27
28 /* Since we're building a native debugger, we can include <signal.h>
29 to find the range of real-time signals. */
30
31 #include <signal.h>
32
33 #ifdef __SIGRTMIN
34 #define REALTIME_LO __SIGRTMIN
35 #define REALTIME_HI (__SIGRTMAX + 1)
36 #endif
37
38 /* We define this if link.h is available, because with ELF we use SVR4
39 style shared libraries. */
40
41 #ifdef HAVE_LINK_H
42 #include "solib.h" /* Support for shared libraries. */
43 #endif
44 \f
45
46 extern void lin_lwp_attach_lwp (ptid_t ptid, int verbose);
47 #define ATTACH_LWP(ptid, verbose) lin_lwp_attach_lwp ((ptid), (verbose))
48
49 extern void lin_thread_get_thread_signals (sigset_t *mask);
50 #define GET_THREAD_SIGNALS(mask) lin_thread_get_thread_signals (mask)
51
52 /* Use elf_gregset_t and elf_fpregset_t, rather than
53 gregset_t and fpregset_t. */
54
55 #define GDB_GREGSET_T elf_gregset_t
56 #define GDB_FPREGSET_T elf_fpregset_t
This page took 0.031216 seconds and 4 git commands to generate.