From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12838 invoked by alias); 10 Aug 2003 13:55:45 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 12688 invoked from network); 10 Aug 2003 13:55:40 -0000 Received: from unknown (HELO walton.kettenis.dyndns.org) (213.93.115.144) by sources.redhat.com with SMTP; 10 Aug 2003 13:55:40 -0000 Received: from elgar.kettenis.dyndns.org (elgar.kettenis.dyndns.org [192.168.0.2]) by walton.kettenis.dyndns.org (8.12.6p2/8.12.5) with ESMTP id h7ADtdbs001850 for ; Sun, 10 Aug 2003 15:55:39 +0200 (CEST) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: from elgar.kettenis.dyndns.org (localhost [127.0.0.1]) by elgar.kettenis.dyndns.org (8.12.6p2/8.12.6) with ESMTP id h7ADtd3g058201 for ; Sun, 10 Aug 2003 15:55:39 +0200 (CEST) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: (from kettenis@localhost) by elgar.kettenis.dyndns.org (8.12.6p2/8.12.6/Submit) id h7ADtdOF058198; Sun, 10 Aug 2003 15:55:39 +0200 (CEST) Date: Sun, 10 Aug 2003 13:55:00 -0000 Message-Id: <200308101355.h7ADtdOF058198@elgar.kettenis.dyndns.org> From: Mark Kettenis To: gdb-patches@sources.redhat.com Subject: [PATCH] Fix HW watchpoints on Solaris x86 X-SW-Source: 2003-08/txt/msg00149.txt.bz2 Got this patch from Peter Schauer. Checked in on both mainline and branch. Mark Index: ChangeLog from Mark Kettenis From Peter Schauer (Peter.Schauer@regent.e-technik.tu-muenchen.de): * config/i386/nm-i386sol2.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Define to one. Index: config/i386/nm-i386sol2.h =================================================================== RCS file: /cvs/src/src/gdb/config/i386/nm-i386sol2.h,v retrieving revision 1.8 diff -u -p -r1.8 nm-i386sol2.h --- config/i386/nm-i386sol2.h 24 Feb 2003 21:56:51 -0000 1.8 +++ config/i386/nm-i386sol2.h 10 Aug 2003 13:48:26 -0000 @@ -28,6 +28,7 @@ can support "thousands" of hardware watchpoints, but gives no method for finding out how many. So just tell GDB 'yes'. */ #define TARGET_CAN_USE_HARDWARE_WATCHPOINT(TYPE, CNT, OT) 1 +#define TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT(SIZE) 1 /* When a hardware watchpoint fires off the PC will be left at the instruction following the one which caused the watchpoint.