From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19699 invoked by alias); 13 Jul 2006 03:21:40 -0000 Received: (qmail 19689 invoked by uid 22791); 13 Jul 2006 03:21:38 -0000 X-Spam-Check-By: sourceware.org Received: from nitzan.inter.net.il (HELO nitzan.inter.net.il) (192.114.186.20) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 13 Jul 2006 03:21:36 +0000 Received: from HOME-C4E4A596F7 (IGLD-84-228-251-217.inter.net.il [84.228.251.217]) by nitzan.inter.net.il (MOS 3.7.3-GA) with ESMTP id EDC29671 (AUTH halo1); Thu, 13 Jul 2006 06:21:32 +0300 (IDT) Date: Thu, 13 Jul 2006 03:21:00 -0000 Message-Id: From: Eli Zaretskii To: Wu Zhou , gdb-patches@sourceware.org In-reply-to: <20060712182958.GA27342@nevyn.them.org> (message from Daniel Jacobowitz on Wed, 12 Jul 2006 14:29:58 -0400) Subject: Re: Fw: [ppc-linux-nat]: set access flag for h/w watchpoint even if it is only read or write (fwd) Reply-to: Eli Zaretskii References: <20060711110910.6298fq7oys0gwogw@imap.linux.ibm.com> <20060712173125.GC24622@nevyn.them.org> <20060712182958.GA27342@nevyn.them.org> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-07/txt/msg00138.txt.bz2 > Date: Wed, 12 Jul 2006 14:29:58 -0400 > From: Daniel Jacobowitz > Cc: Wu Zhou , gdb-patches@sourceware.org > > Right now the i386 target says "you asked me to insert a read > watchpoint. OK! I've done it" and sneakily inserts an access > watchpoint instead. That means higher layers can't tell that it's > going to fire unexpectedly. > > If the i386 target instead said "Sorry, I can't insert a read > watchpoint" and the higher layer said "well, how about this - can > you insert an access watchpoint?" then it would be able to handle and > skip the unexpected firing. I don't mind this change. Thanks for explaining it.