This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, doc RFA] Add guile gdb parameter support


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]