Commit | Line | Data |
---|---|---|
d0761299 JB |
1 | /* Copyright 2008, 2009 Free Software Foundation, Inc. |
2 | ||
3 | This file is part of GDB. | |
4 | ||
5 | This program is free software; you can redistribute it and/or modify | |
6 | it under the terms of the GNU General Public License as published by | |
7 | the Free Software Foundation; either version 3 of the License, or | |
8 | (at your option) any later version. | |
9 | ||
10 | This program is distributed in the hope that it will be useful, | |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | GNU General Public License for more details. | |
14 | ||
15 | You should have received a copy of the GNU General Public License | |
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. */ | |
17 | ||
18 | #define ADD_SHARED_SYMBOL_FILES dll_symbol_command | |
19 | void dll_symbol_command (char *, int); | |
20 | ||
21 | #define I386_USE_GENERIC_WATCHPOINTS | |
5aca5a82 | 22 | #define I386_WATCHPOINTS_IN_TARGET_VECTOR |
d0761299 JB |
23 | |
24 | #include "i386/nm-i386.h" | |
25 | ||
26 | /* Support for hardware-assisted breakpoints and watchpoints. */ | |
27 | ||
28 | #define I386_DR_LOW_SET_CONTROL(VAL) cygwin_set_dr7 (VAL) | |
29 | extern void cygwin_set_dr7 (unsigned); | |
30 | ||
31 | #define I386_DR_LOW_SET_ADDR(N,ADDR) cygwin_set_dr (N,ADDR) | |
32 | extern void cygwin_set_dr (int, CORE_ADDR); | |
33 | ||
34 | #define I386_DR_LOW_RESET_ADDR(N) | |
35 | ||
36 | #define I386_DR_LOW_GET_STATUS() cygwin_get_dr6 () | |
37 | extern unsigned cygwin_get_dr6 (void); |