* config/i386/i386sol2.mt (TDEPFILES): Add i386-sol2-tdep.o and
[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 #define HAVE_I387_REGS
28 #ifdef HAVE_PTRACE_GETFPXREGS
29 #define FILL_FPXREGSET
30 #define HAVE_SSE_REGS
31 #endif
32
33 #include "i386/tm-i386.h"
34 #include "config/tm-linux.h"
35
36 /* The following works around a problem with /usr/include/sys/procfs.h */
37 #define sys_quotactl 1
38
39 /* When we call a function in a shared library, and the PLT sends us
40 into the dynamic linker to find the function's real address, we
41 need to skip over the dynamic linker call. This function decides
42 when to skip, and where to skip to. See the comments for
43 SKIP_SOLIB_RESOLVER at the top of infrun.c. */
44 #define SKIP_SOLIB_RESOLVER i386_linux_skip_solib_resolver
45 extern CORE_ADDR i386_linux_skip_solib_resolver (CORE_ADDR pc);
46
47 /* N_FUN symbols in shared libaries have 0 for their values and need
48 to be relocated. */
49 #define SOFUN_ADDRESS_MAYBE_MISSING
50
51 #endif /* #ifndef TM_LINUX_H */
This page took 0.030243 seconds and 4 git commands to generate.