From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13371 invoked by alias); 2 Jun 2014 15:41:11 -0000 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 Received: (qmail 13358 invoked by uid 89); 2 Jun 2014 15:41:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: mtaout28.012.net.il Received: from mtaout28.012.net.il (HELO mtaout28.012.net.il) (80.179.55.184) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 02 Jun 2014 15:41:09 +0000 Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0N6J00F00SIXFC00@mtaout28.012.net.il> for gdb-patches@sourceware.org; Mon, 02 Jun 2014 18:39:17 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N6J00CECSTHPX40@mtaout28.012.net.il>; Mon, 02 Jun 2014 18:39:17 +0300 (IDT) Date: Mon, 02 Jun 2014 15:41:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH, doc RFA] Add guile gdb parameter support In-reply-to: To: Doug Evans Cc: ludo@gnu.org, gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83vbsj9v5h.fsf@gnu.org> References: <87lhtnd2q9.fsf@gnu.org> X-IsSubscribed: yes X-SW-Source: 2014-06/txt/msg00024.txt.bz2 > From: Doug Evans > Cc: "gdb-patches\@sourceware.org" > Date: Sun, 01 Jun 2014 20:13:05 -0700 > > +@tindex Parameter > +You can implement new @value{GDBN} parameters using Guile. A new > +parameter is defined with the @code{make-parameter} Guile function, > +and added to @value{GDBN} with the @code{register-parameter!} Guile function. > +This two-step approach is taken to separate out the side-effect of adding > +the command to @value{GDBN} from @code{make-parameter}. ^^^^^^^^^^^ Copy-paste error. Or maybe you meant the "set PARAMETER" command? > +This function must return a string to be displayed to the user, > +without any trailing newline. I guess what you want to say is that GDB will add a newline, not that the string must not end with a newline. Otherwise, OK. Thanks.