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] guile: Add 'history-push!' procedure


> From: ludo@gnu.org (Ludovic CourtÃs)
> Date: Tue, 18 Feb 2014 23:40:14 +0100
> 
> This patch adds the âhistory-push!â procedure to add a value in the
> history.

Thanks.

> +@deffn {Scheme Procedure} history-push! value
> +Push @var{value}, an instance of @code{<gdb:value>}, to @value{GDBN}'s
> +value history.

I think we should explain what "push" means in this context.  It is
not self-evident.

>                 Return its index in the history, or @code{#f} if it is
> +not saved.

Why would it not be saved?

> +This function is useful to make it easier to access individual values
> +from a set of values displayed by a user function.

Not sure what this sentence is about.  "Easier" how, and what do you
mean by "user function"?


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