* config/i386/tm-linux.h [HAVE_PTRACE_GETFPXREGS]
[deliverable/binutils-gdb.git] / gdb / config / i386 / tm-linux.h
1 /* Definitions to target GDB to GNU/Linux on 386.
2
3 Copyright 1992, 1993, 1995, 1996, 1998, 1999, 2000, 2001, 2002 Free
4 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 #ifndef TM_LINUX_H
24 #define TM_LINUX_H
25
26 #define I386_GNULINUX_TARGET
27
28 #include "i386/tm-i386.h"
29 #include "config/tm-linux.h"
30
31 /* The following works around a problem with /usr/include/sys/procfs.h */
32 #define sys_quotactl 1
33
34 /* When we call a function in a shared library, and the PLT sends us
35 into the dynamic linker to find the function's real address, we
36 need to skip over the dynamic linker call. This function decides
37 when to skip, and where to skip to. See the comments for
38 SKIP_SOLIB_RESOLVER at the top of infrun.c. */
39 #define SKIP_SOLIB_RESOLVER i386_linux_skip_solib_resolver
40 extern CORE_ADDR i386_linux_skip_solib_resolver (CORE_ADDR pc);
41
42 /* N_FUN symbols in shared libaries have 0 for their values and need
43 to be relocated. */
44 #define SOFUN_ADDRESS_MAYBE_MISSING
45
46 #endif /* #ifndef TM_LINUX_H */
This page took 0.031834 seconds and 5 git commands to generate.