From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14920 invoked by alias); 5 May 2011 16:27:16 -0000 Received: (qmail 14893 invoked by uid 22791); 5 May 2011 16:27:13 -0000 X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout21.012.net.il (HELO mtaout21.012.net.il) (80.179.55.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 05 May 2011 16:26:57 +0000 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0LKQ00500DMNS800@a-mtaout21.012.net.il> for gdb-patches@sourceware.org; Thu, 05 May 2011 19:26:55 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.228.234.175]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LKQ005H2DOTFFC0@a-mtaout21.012.net.il>; Thu, 05 May 2011 19:26:55 +0300 (IDT) Date: Thu, 05 May 2011 16:27:00 -0000 From: Eli Zaretskii Subject: Re: [RFA 2/3] Demote to sw watchpoint only in update_watchpoint In-reply-to: <201105051627.40873.pedro@codesourcery.com> To: Pedro Alves Cc: bauerman@br.ibm.com, gdb-patches@sourceware.org, uweigand@de.ibm.com Reply-to: Eli Zaretskii Message-id: <83k4e5m7u9.fsf@gnu.org> References: <201104291726.p3THQVaC029608@d06av02.portsmouth.uk.ibm.com> <201105050915.18716.pedro@codesourcery.com> <201105051627.40873.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-05/txt/msg00141.txt.bz2 > From: Pedro Alves > Date: Thu, 5 May 2011 16:27:40 +0100 > Cc: bauerman@br.ibm.com, > gdb-patches@sourceware.org, > uweigand@de.ibm.com > > 1. The inferior is stopped and software bp_locations (both breakpoints > and watchpoints) are removed. Hardware ones stay in place. > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > 2. The user asks for a new watchpoint. Ah, okay. I thought you were talking about that "new watchpoint" in item 2. Thanks for setting me straight. Yes, I agree that the difference doesn't really matter, and that your second variant is slightly better.