From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11316 invoked by alias); 23 Jan 2012 17:13:49 -0000 Received: (qmail 11304 invoked by uid 22791); 23 Jan 2012 17:13:47 -0000 X-SWARE-Spam-Status: No, hits=0.7 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_WEB,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout23.012.net.il (HELO mtaout23.012.net.il) (80.179.55.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 23 Jan 2012 17:13:29 +0000 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0LY900M00H2FC500@a-mtaout23.012.net.il> for gdb-patches@sourceware.org; Mon, 23 Jan 2012 19:13:22 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.229.18.29]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LY900M44H6A9O50@a-mtaout23.012.net.il>; Mon, 23 Jan 2012 19:13:22 +0200 (IST) Date: Mon, 23 Jan 2012 17:14:00 -0000 From: Eli Zaretskii Subject: Re: [patch 3/8] Command `set agent on|off' In-reply-to: <4F1D659F.40608@codesourcery.com> To: Yao Qi Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83aa5e2vgp.fsf@gnu.org> References: <4F1D55D7.7030506@codesourcery.com> <4F1D659F.40608@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/msg00782.txt.bz2 > Date: Mon, 23 Jan 2012 21:50:23 +0800 > From: Yao Qi > > We want to leave users to decide whether they want to use agent or not, > so we add a new command `set agent on|off' in this patch. Thanks. > + add_setshow_enum_cmd ("agent", class_run, > + can_use_agent_enum, > + &can_use_agent, _("\ > +Set debugger's willingness to use agent as a helper."), _("\ > +Show debugger's willingness to use agent as a helper."), _("\ > +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"), This doc string should say a little more. In particular, what is the purpose of using "agent as a helper"? helper to do what?