From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18539 invoked by alias); 18 Oct 2010 16:09:54 -0000 Received: (qmail 18521 invoked by uid 22791); 18 Oct 2010 16:09:52 -0000 X-SWARE-Spam-Status: No, hits=-6.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 18 Oct 2010 16:09:46 +0000 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o9IG9bpA002087 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 18 Oct 2010 12:09:37 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o9IG9aLZ027154; Mon, 18 Oct 2010 12:09:37 -0400 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id o9IG9aFH025336; Mon, 18 Oct 2010 12:09:36 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id D364A378282; Mon, 18 Oct 2010 10:09:35 -0600 (MDT) From: Tom Tromey To: Pedro Alves Cc: gdb-patches@sourceware.org, pmuldoon@redhat.com, dan@codesourcery.com Subject: Re: [patch] Add visible flag to breakpoints. References: <201010081435.15174.pedro@codesourcery.com> <201010162003.41609.pedro@codesourcery.com> Date: Mon, 18 Oct 2010 16:09:00 -0000 In-Reply-To: <201010162003.41609.pedro@codesourcery.com> (Pedro Alves's message of "Sat, 16 Oct 2010 20:03:41 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: 2010-10/txt/msg00285.txt.bz2 >>>>> "Pedro" == Pedro Alves writes: Pedro> Should it be an error instead (or made to work)? Phil> I can make it an error. I decided not to do watchpoints. Pedro> IMO, either of these would be better API than a silent ignore. I agree. Phil> The consequences of setting hidden watchpoints from a script that Phil> could turn out to be software watchpoints seemed a little Phil> troubling. Pedro> IMO, it should the script writers' responsibility to weight that, Pedro> but it's also okay to not support it until someone asks for it Pedro> (though that someone would be happier if she didn't have to, Pedro> obviously :-) ). Yes, I agree with this as well. Tom