This commit was generated by cvs2svn to track changes on a CVS vendor
[deliverable/binutils-gdb.git] / gdb / config / i386 / nm-go32.h
1 /* Native definitions for Intel x86 running DJGPP.
2 Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
3
4 This file is part of GDB.
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
20
21 #define NO_PTRACE_H
22
23 #include "i386/nm-i386v.h"
24
25 #define TARGET_HAS_HARDWARE_WATCHPOINTS
26
27 #define TARGET_CAN_USE_HARDWARE_WATCHPOINT(type, cnt, ot) 1
28
29 /* After a watchpoint trap, the PC points to the instruction after the
30 one that caused the trap. Therefore we don't need to step over it.
31 But we do need to reset the status register to avoid another trap. */
32
33 #define HAVE_CONTINUABLE_WATCHPOINT
34
35 #define STOPPED_BY_WATCHPOINT(W) \
36 go32_stopped_by_watchpoint (inferior_pid)
37
38 /* Use these macros for watchpoint insertion/removal. */
39
40 #define target_insert_watchpoint(addr, len, type) \
41 go32_insert_watchpoint (inferior_pid, addr, len, 2)
42
43 #define target_remove_watchpoint(addr, len, type) \
44 go32_remove_watchpoint (inferior_pid, addr, len)
45
46 #define target_insert_hw_breakpoint(addr, shadow) \
47 go32_insert_hw_breakpoint(addr, shadow)
48
49 #define target_remove_hw_breakpoint(addr, shadow) \
50 go32_remove_hw_breakpoint(addr, shadow)
51
52 #define DECR_PC_AFTER_HW_BREAK 0
53
54 #undef FLOAT_INFO
55 #define FLOAT_INFO { i386_go32_float_info (); }
56
57 extern void i386_go32_float_info (void);
This page took 0.031602 seconds and 5 git commands to generate.