]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/config/i386/tm-linux.h
* config/i386/tm-linux.h [HAVE_PTRACE_GETFPXREGS]
[thirdparty/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
c906108c
SS
27
28#include "i386/tm-i386.h"
4f2e4a4f 29#include "config/tm-linux.h"
c906108c 30
c906108c
SS
31/* The following works around a problem with /usr/include/sys/procfs.h */
32#define sys_quotactl 1
33
d4f3574e
SS
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
40extern 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
c5aa993b 46#endif /* #ifndef TM_LINUX_H */