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: [RFC][python] Fixes and improvements to gdb.Value.


> From: Thiago Jung Bauermann <bauerman@br.ibm.com>
> Cc: gdb-patches@sourceware.org
> Date: Sat, 03 Jan 2009 21:09:07 -0200
> 
> In a nutshell, my answer is "no, I don't think it should". :-)

Then perhaps having an index entry "gdb.history" is not important,
either?

> If @var{number} is negative, then @value{GDBN} will take its absolute value
> and count backward from the last element (i.e., the most recent element) to
> find the value to return.  If @var{number} is zero, then @value{GDBN} will
> return the most recent element.  If the element specified by @value{number}
> doesn't exist in the value history, a @code{RuntimeError} exception will be
> raised.
> 
> What do you think?

Sounds good.

> 2009-01-03  Tom Tromey  <tromey@redhat.com>
> 
> 	* gdb.texinfo (Basic Python): Document gdb.history.

Thanks, I'm happy now.


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