Updated copyright notices for most files.
[deliverable/binutils-gdb.git] / gdb / config / i386 / nm-fbsd.h
CommitLineData
e6031aeb 1/* Native-dependent definitions for FreeBSD/i386.
7e654c37 2
6aba47ca 3 Copyright 1986, 1987, 1989, 1992, 1994, 1996, 1997, 2000, 2001, 2004, 2005,
9b254dd1 4 2007, 2008 Free Software Foundation, Inc.
c906108c 5
c5aa993b
JM
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
a9762ec7 10 the Free Software Foundation; either version 3 of the License, or
c5aa993b
JM
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
a9762ec7 19 along with this program. If not, see <http://www.gnu.org/licenses/>. */
c906108c 20
e6031aeb
MK
21#ifndef NM_FBSD_H
22#define NM_FBSD_H
c906108c 23
0afdd437
MK
24#ifdef HAVE_PT_GETDBREGS
25#define I386_USE_GENERIC_WATCHPOINTS
26#endif
27
28#include "i386/nm-i386.h"
29
b9644b58
DB
30#ifdef HAVE_SYS_PARAM_H
31#include <sys/param.h>
32#endif
33
0afdd437
MK
34/* Provide access to the i386 hardware debugging registers. */
35
36#define I386_DR_LOW_SET_CONTROL(control) \
37 i386bsd_dr_set_control (control)
38extern void i386bsd_dr_set_control (unsigned long control);
39
40#define I386_DR_LOW_SET_ADDR(regnum, addr) \
41 i386bsd_dr_set_addr (regnum, addr)
42extern void i386bsd_dr_set_addr (int regnum, CORE_ADDR addr);
43
44#define I386_DR_LOW_RESET_ADDR(regnum) \
45 i386bsd_dr_reset_addr (regnum)
46extern void i386bsd_dr_reset_addr (int regnum);
47
48#define I386_DR_LOW_GET_STATUS() \
49 i386bsd_dr_get_status ()
50extern unsigned long i386bsd_dr_get_status (void);
51\f
52
7e654c37 53#endif /* nm-fbsd.h */
This page took 0.522867 seconds and 4 git commands to generate.