From b7da9e9f5f446695243846d70c34d9a19c9c961c Mon Sep 17 00:00:00 2001 From: Pierre Muller Date: Mon, 26 Apr 2010 12:01:44 +0000 Subject: PR breakpoints/11531. * config/i386/nm-i386sol2.h (CANNOT_STEP_HW_WATCHPOINTS): Remove macro definition and related comment. * infrun.c (CANNOT_STEP_HW_WATCHPOINTS): Remove macro. (resume): Remove code and comment related to this macro. doc ChangeLog entry: * gdbint.texinfo (CANNOT_STEP_HW_WATCHPOINTS): Remove explanation of macro deleted from GDB code. --- gdb/config/i386/nm-i386sol2.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'gdb/config') diff --git a/gdb/config/i386/nm-i386sol2.h b/gdb/config/i386/nm-i386sol2.h index 6ff0afb..8540e9e 100644 --- a/gdb/config/i386/nm-i386sol2.h +++ b/gdb/config/i386/nm-i386sol2.h @@ -19,14 +19,4 @@ #ifdef NEW_PROC_API /* Solaris 6 and above can do HW watchpoints */ -/* Solaris x86 2.6 and 2.7 targets have a kernel bug when stepping - over an instruction that causes a page fault without triggering - a hardware watchpoint. The kernel properly notices that it shouldn't - stop, because the hardware watchpoint is not triggered, but it forgets - the step request and continues the program normally. - Work around the problem by removing hardware watchpoints if a step is - requested, GDB will check for a hardware watchpoint trigger after the - step anyway. */ -#define CANNOT_STEP_HW_WATCHPOINTS - #endif /* NEW_PROC_API */ -- cgit v1.1