No empty .Rs/.Re
[netbsd-mini2440.git] / gnu / dist / gdb6 / gdb / config / i386 / nm-fbsd.h
blob504bed57d22ab06b11a91bf9c885937e6dbc12ef
1 /* Native-dependent definitions for FreeBSD/i386.
3 Copyright 1986, 1987, 1989, 1992, 1994, 1996, 1997, 2000, 2001,
4 2004, 2005 Free Software Foundation, Inc.
6 This file is part of GDB.
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.
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.
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. */
23 #ifndef NM_FBSD_H
24 #define NM_FBSD_H
26 #ifdef HAVE_PT_GETDBREGS
27 #define I386_USE_GENERIC_WATCHPOINTS
28 #endif
30 #include "i386/nm-i386.h"
32 #ifdef HAVE_SYS_PARAM_H
33 #include <sys/param.h>
34 #endif
36 /* Provide access to the i386 hardware debugging registers. */
38 #define I386_DR_LOW_SET_CONTROL(control) \
39 i386bsd_dr_set_control (control)
40 extern void i386bsd_dr_set_control (unsigned long control);
42 #define I386_DR_LOW_SET_ADDR(regnum, addr) \
43 i386bsd_dr_set_addr (regnum, addr)
44 extern void i386bsd_dr_set_addr (int regnum, CORE_ADDR addr);
46 #define I386_DR_LOW_RESET_ADDR(regnum) \
47 i386bsd_dr_reset_addr (regnum)
48 extern void i386bsd_dr_reset_addr (int regnum);
50 #define I386_DR_LOW_GET_STATUS() \
51 i386bsd_dr_get_status ()
52 extern unsigned long i386bsd_dr_get_status (void);
55 /* Shared library support. */
57 #include "solib.h"
59 #endif /* nm-fbsd.h */