1 /* Native support for GNU/Linux.
3 Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005
4 Free Software Foundation, Inc.
6 This file is part of GDB.
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.
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.
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. */
25 /* GNU/Linux is SVR4-ish but its /proc file system isn't. */
28 /* Since we're building a native debugger, we can include <signal.h>
29 to find the range of real-time signals. */
34 #define REALTIME_LO __SIGRTMIN
35 #define REALTIME_HI (__SIGRTMAX + 1)
38 /* We define this if link.h is available, because with ELF we use SVR4
39 style shared libraries. */
42 #include "solib.h" /* Support for shared libraries. */
46 extern void lin_lwp_attach_lwp (ptid_t ptid
, int verbose
);
47 #define ATTACH_LWP(ptid, verbose) lin_lwp_attach_lwp ((ptid), (verbose))
49 extern void lin_thread_get_thread_signals (sigset_t
*mask
);
50 #define GET_THREAD_SIGNALS(mask) lin_thread_get_thread_signals (mask)
52 /* Use elf_gregset_t and elf_fpregset_t, rather than
53 gregset_t and fpregset_t. */
55 #define GDB_GREGSET_T elf_gregset_t
56 #define GDB_FPREGSET_T elf_fpregset_t
This page took 0.030315 seconds and 4 git commands to generate.