From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19710 invoked by alias); 4 May 2011 00:03:52 -0000 Received: (qmail 19701 invoked by uid 22791); 4 May 2011 00:03:51 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from e37.co.us.ibm.com (HELO e37.co.us.ibm.com) (32.97.110.158) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 04 May 2011 00:03:37 +0000 Received: from d03relay05.boulder.ibm.com (d03relay05.boulder.ibm.com [9.17.195.107]) by e37.co.us.ibm.com (8.14.4/8.13.1) with ESMTP id p4400gb2030556 for ; Tue, 3 May 2011 18:00:42 -0600 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay05.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p4403LTK340096 for ; Tue, 3 May 2011 18:03:26 -0600 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p43I2qJk003655 for ; Tue, 3 May 2011 12:02:54 -0600 Received: from [9.12.228.54] ([9.12.228.54]) by d03av02.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id p43I2mkC003465; Tue, 3 May 2011 12:02:49 -0600 Subject: Re: [RFA 2/3] Demote to sw watchpoint only in update_watchpoint From: Thiago Jung Bauermann To: Eli Zaretskii Cc: Pedro Alves , gdb-patches@sourceware.org, uweigand@de.ibm.com In-Reply-To: <83fwov4jem.fsf@gnu.org> References: <201104291726.p3THQVaC029608@d06av02.portsmouth.uk.ibm.com> <201105031841.46949.pedro@codesourcery.com> <83hb9b4q80.fsf@gnu.org> <201105031912.43042.pedro@codesourcery.com> <83fwov4jem.fsf@gnu.org> Content-Type: text/plain; charset="UTF-8" Date: Wed, 04 May 2011 00:03:00 -0000 Message-ID: <1304467386.19357.4.camel@hactar> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit 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/msg00079.txt.bz2 On Tue, 2011-05-03 at 23:29 +0300, Eli Zaretskii wrote: > > From: Pedro Alves > > Date: Tue, 3 May 2011 19:12:42 +0100 > > Cc: bauerman@br.ibm.com, > > uweigand@de.ibm.com > > > > I'm proposing getting rid of target_can_use_hardware_watchpoint > > as being part of the core accounting infrastructure. > > I'm fine with heading that way. It will certainly be cleaner than the > current mess, which needs a face-lift every few months. For this scheme to work, GDB will have to be changed to use always-inserted mode exclusively, right? Or at least insert all breakpoints and watchpoints when probing whether a new breakpoint/watchpoint can be created. -- []'s Thiago Jung Bauermann IBM Linux Technology Center