This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH, doc RFA] Add guile gdb parameter support
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Doug Evans <xdje42 at gmail dot com>
- Cc: ludo at gnu dot org, gdb-patches at sourceware dot org
- Date: Mon, 02 Jun 2014 18:40:58 +0300
- Subject: Re: [PATCH, doc RFA] Add guile gdb parameter support
- Authentication-results: sourceware.org; auth=none
- References: <m31tvmj4xc dot fsf at sspiff dot org> <87lhtnd2q9 dot fsf at gnu dot org> <CAP9bCMRXEQ9bOsYGRjVG4MqJW9P_5tMCXwt3TD5vP_uU4CW+MQ at mail dot gmail dot com> <m3r438dmwu dot fsf at sspiff dot org>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Doug Evans <xdje42@gmail.com>
> Cc: "gdb-patches\@sourceware.org" <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.