* config/i386/i386sol2.mt (TDEPFILES): Add i386-sol2-tdep.o and
[deliverable/binutils-gdb.git] / gdb / config / i386 / tm-linux.h
CommitLineData
c906108c 1/* Definitions to target GDB to GNU/Linux on 386.
92362027
AC
2
3 Copyright 1992, 1993, 1995, 1996, 1998, 1999, 2000, 2001, 2002 Free
4 Software Foundation, Inc.
c906108c 5
c5aa993b 6 This file is part of GDB.
c906108c 7
c5aa993b
JM
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.
c906108c 12
c5aa993b
JM
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.
c906108c 17
c5aa993b
JM
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. */
c906108c
SS
22
23#ifndef TM_LINUX_H
24#define TM_LINUX_H
25
d4f3574e 26#define I386_GNULINUX_TARGET
917317f4 27#define HAVE_I387_REGS
6ce2ac0b 28#ifdef HAVE_PTRACE_GETFPXREGS
32872fa7 29#define FILL_FPXREGSET
5c44784c
JM
30#define HAVE_SSE_REGS
31#endif
c906108c
SS
32
33#include "i386/tm-i386.h"
4f2e4a4f 34#include "config/tm-linux.h"
c906108c 35
c906108c
SS
36/* The following works around a problem with /usr/include/sys/procfs.h */
37#define sys_quotactl 1
38
d4f3574e
SS
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
45extern 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
c5aa993b 51#endif /* #ifndef TM_LINUX_H */
This page took 0.166421 seconds and 4 git commands to generate.