Updated copyright notices for most files.
[deliverable/binutils-gdb.git] / gdb / config / i386 / nm-linux.h
CommitLineData
92362027
AC
1/* Native support for GNU/Linux x86.
2
6aba47ca 3 Copyright 1986, 1987, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
9b254dd1 4 2000, 2001, 2002, 2003, 2005, 2007, 2008 Free 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
a9762ec7 10 the Free Software Foundation; either version 3 of the License, or
c5aa993b 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 18 You should have received a copy of the GNU General Public License
a9762ec7 19 along with this program. If not, see <http://www.gnu.org/licenses/>. */
c906108c
SS
20
21#ifndef NM_LINUX_H
22#define NM_LINUX_H
23
84346e11
MK
24/* GNU/Linux supports the i386 hardware debugging registers. */
25#define I386_USE_GENERIC_WATCHPOINTS
26
27#include "i386/nm-i386.h"
4f2e4a4f 28#include "config/nm-linux.h"
c906108c 29
84346e11 30/* Provide access to the i386 hardware debugging registers. */
c906108c 31
7bf0983e 32extern void i386_linux_dr_set_control (unsigned long control);
84346e11
MK
33#define I386_DR_LOW_SET_CONTROL(control) \
34 i386_linux_dr_set_control (control)
c906108c 35
84346e11
MK
36extern void i386_linux_dr_set_addr (int regnum, CORE_ADDR addr);
37#define I386_DR_LOW_SET_ADDR(regnum, addr) \
38 i386_linux_dr_set_addr (regnum, addr)
c906108c 39
84346e11
MK
40extern void i386_linux_dr_reset_addr (int regnum);
41#define I386_DR_LOW_RESET_ADDR(regnum) \
42 i386_linux_dr_reset_addr (regnum)
c906108c 43
7bf0983e 44extern unsigned long i386_linux_dr_get_status (void);
84346e11
MK
45#define I386_DR_LOW_GET_STATUS() \
46 i386_linux_dr_get_status ()
a14bd2ea 47\f
c906108c 48
322d4fe0
MK
49#ifdef HAVE_PTRACE_GETFPXREGS
50/* Include register set support for the SSE registers. */
51#define FILL_FPXREGSET
52#endif
53
a14bd2ea 54#endif /* nm-linux.h */
This page took 0.467289 seconds and 4 git commands to generate.