From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20709 invoked by alias); 24 Jan 2012 05:49:34 -0000 Received: (qmail 20700 invoked by uid 22791); 24 Jan 2012 05:49:32 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (140.186.70.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 24 Jan 2012 05:49:18 +0000 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RpZFs-0005g4-RS; Tue, 24 Jan 2012 00:49:16 -0500 Date: Tue, 24 Jan 2012 05:54:00 -0000 Message-Id: From: Eli Zaretskii To: Yao Qi CC: gdb-patches@sourceware.org In-reply-to: <4F1DF166.7010005@codesourcery.com> (message from Yao Qi on Tue, 24 Jan 2012 07:46:46 +0800) Subject: Re: [patch 3/8] Command `set agent on|off' Reply-to: Eli Zaretskii References: <4F1D55D7.7030506@codesourcery.com> <4F1D659F.40608@codesourcery.com> <83aa5e2vgp.fsf@gnu.org> <4F1DF166.7010005@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: 2012-01/txt/msg00807.txt.bz2 > Date: Tue, 24 Jan 2012 07:46:46 +0800 > From: Yao Qi > CC: > > How about this, > > Set debugger's willingness to use agent as a helper."), _("\ > Show debugger's willingness to use agent as a helper."), _("\ > Agent, a shared library running in the same process of inferior, takes > some delegated debugging works from GDB/GDBserver. Since it is faster > to execute some debugging operations in agent than in GDB/GDBserver, the > performance of debugging can be improved. The delegated debugging works > vary on agents, depend on the actual capability of agents. > If on, gdb will use agent as a helper if it is supported by the target.\n\ > If off, gdb will not use agent, even if such is supported by the target\n"), Thanks, but I think this goes too far. I suggest this shorter description: If ON, GDB will delegate some of the debugging operations to the agent, if the target supports it. This will speed up those operations that are supported by the agent. If OFF GDB will not use agent, even if such is supported by the target. Also note that your last sentence lacks a period at its end.