[PATCH, doc RFA] Add guile gdb parameter support

Ludovic Courtès ludo@gnu.org
Tue May 27 08:51:00 GMT 2014


Doug Evans <xdje42@gmail.com> skribis:

> +@c TODO line length

You can use @ at the end of line to denote a continuation.  :-)

> +@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’.



More information about the Gdb-patches mailing list