From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21976 invoked by alias); 10 Mar 2011 12:27:12 -0000 Received: (qmail 21968 invoked by uid 22791); 10 Mar 2011 12:27:12 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 10 Mar 2011 12:27:06 +0000 Received: (qmail 16925 invoked from network); 10 Mar 2011 12:27:04 -0000 Received: from unknown (HELO scottsdale.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 10 Mar 2011 12:27:04 -0000 From: Pedro Alves To: gdb@sourceware.org Subject: Re: Why no hwatch command in gdb ? Date: Thu, 10 Mar 2011 12:27:00 -0000 User-Agent: KMail/1.13.5 (Linux/2.6.35-27-generic; KDE/4.6.1; x86_64; ; ) Cc: Joel Brobecker , Eli Zaretskii , Jan Kratochvil , robertsong.japan@gmail.com References: <20110310113421.GV19402@adacore.com> In-Reply-To: <20110310113421.GV19402@adacore.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201103101227.03684.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-03/txt/msg00074.txt.bz2 On Thursday 10 March 2011 11:34:21, Joel Brobecker wrote: > I think there was a recent change that made us insert the watchpoint > immediately, as a way to check whether we have resources or not. I don't > know how much this helps in practice. I think you're wishful thinking. I proposed that (*) while reviewing the PPC ranged watchpoints support as a way of getting rid of the (mostly broken) watchpoint resources accounting mechanism, but it was never implemented. (*) - most probably others have done so too before me. -- Pedro Alves