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: Doug Evans <xdje42 at gmail dot com>
- To: Ludovic CourtÃs <ludo at gnu dot org>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Tue, 27 May 2014 07:43:35 -0700
- 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>
On Tue, May 27, 2014 at 1:50 AM, Ludovic CourtÃs <ludo@gnu.org> wrote:
> Doug Evans <xdje42@gmail.com> skribis:
>
>> +@c TODO line length
>
> You can use @ at the end of line to denote a continuation. :-)
"works for me"
>> +@deffn {Scheme Procedure} (make-parameter! name @r{[}#:command-class command-class@r{]} @r{[}#:parameter-type parameter-type{]} @r{[}#:enum-list enum-list@r{]} @r{[}#:set-func set-func{]} @r{[}#:show-func show-func{]} @r{[}#:doc doc{]} @r{[}#:set-doc set-doc{]} @r{[}#:show-doc show-doc{]} @r{[}#:initial-value initial-value{]})
>
> It would seem more natural if this were split into two things:
>
> 1. âmake-parameterâ, which returns a new <gdb:parameter>;
> 2. âregister-parameter!â, which calls âadd_setshow_genericâ.
>
> WDYT?
>
> Ludoâ.
>
I like it!