2009-06-07 Pedro Alves <pedro@codesourcery.com>
[deliverable/binutils-gdb.git] / gdb / config / i386 / nm-i386sol2.h
CommitLineData
c906108c 1/* Native support for i386 running Solaris 2.
0fb0cc75 2 Copyright 1998, 1999, 2000, 2007, 2008, 2009 Free Software Foundation, Inc.
c906108c 3
c5aa993b 4 This file is part of GDB.
c906108c 5
c5aa993b
JM
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
a9762ec7 8 the Free Software Foundation; either version 3 of the License, or
c5aa993b 9 (at your option) any later version.
c906108c 10
c5aa993b
JM
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.
c906108c 15
c5aa993b 16 You should have received a copy of the GNU General Public License
a9762ec7 17 along with this program. If not, see <http://www.gnu.org/licenses/>. */
c906108c 18
2f09097b
ND
19#ifdef NEW_PROC_API /* Solaris 6 and above can do HW watchpoints */
20
14164c30
PS
21/* Solaris x86 2.6 and 2.7 targets have a kernel bug when stepping
22 over an instruction that causes a page fault without triggering
23 a hardware watchpoint. The kernel properly notices that it shouldn't
24 stop, because the hardware watchpoint is not triggered, but it forgets
25 the step request and continues the program normally.
26 Work around the problem by removing hardware watchpoints if a step is
27 requested, GDB will check for a hardware watchpoint trigger after the
28 step anyway. */
29#define CANNOT_STEP_HW_WATCHPOINTS
30
2f09097b 31#endif /* NEW_PROC_API */
This page took 0.565435 seconds and 4 git commands to generate.