From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13206 invoked by alias); 23 Feb 2012 17:38:02 -0000 Received: (qmail 13066 invoked by uid 22791); 23 Feb 2012 17:38:01 -0000 X-SWARE-Spam-Status: No, hits=-6.8 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; Thu, 23 Feb 2012 17:37:45 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q1NHbe22002574 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 23 Feb 2012 12:37:41 -0500 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q1NHbdGt011566; Thu, 23 Feb 2012 12:37:40 -0500 Message-ID: <4F467963.4040701@redhat.com> Date: Thu, 23 Feb 2012 17:46:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20120131 Thunderbird/10.0 MIME-Version: 1.0 To: "Gustavo, Luis" CC: Eli Zaretskii , gdb-patches@sourceware.org Subject: Re: [rfc target-side break conditions 1/5 v2] Documentation bits References: <4F2309FF.9050708@mentor.com> <83zkd8xmky.fsf@gnu.org> <4F450AA9.3020501@mentor.com> In-Reply-To: <4F450AA9.3020501@mentor.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: 2012-02/txt/msg00509.txt.bz2 On 02/22/2012 03:32 PM, Luis Gustavo wrote: > +* New options > + > +set breakpoint condition-evaluation > +show breakpoint condition-evaluation > + Controls whether breakpoint conditions are evaluated by GDB ("gdb") or by > + GDBserver ("target"). > + This option can improve debugger efficiency depending on the speed of the > + target. > + > +* New remote packets > + > + The z0/z1 breakpoint insertion packets have been extended to carry > + a list of conditional expressions over to GDBserver depending on the suggest s/GDBserver/the remote stub/ (making clear the packet isn't only useful with GDB's own server.) > +If a breakpoint is conditional, there are two evaluation modes: ``gdb'' and > +``target''. If mode is ``gdb'', breakpoint condition evaluation is done by > +@value{GDBN} on the host's side. If it is ``target'', then the condition > +is evaluated by the target. The @code{info break} command shows > +the condition on the line following the affected breakpoint, together with > +its condition evaluation mode in between parentheses. I'm probably confused by now, but I thought that the modes are now "host" and "target". Other than that, no comment. I think the docs changes look great. -- Pedro Alves