[rfc] Fix value_assign return value (Re: [patch] fix pre-/post- in-/decrement)

Daniel Jacobowitz dan@codesourcery.com
Tue Oct 26 13:42:00 GMT 2010


On Wed, Oct 06, 2010 at 08:59:18PM +0200, Ulrich Weigand wrote:
> 	* valops.c (value_assign): Returned value is never lazy.  If a
> 	C++ class type is returned, fix incorrect enclosing type / embedded
> 	offset.  If internal variable is returned, allocate new internalvar
> 	value using value_of_internalvar.
> 
> 	* NEWS: Document changes in behavior of "print x = 0" and similar
> 	expressions.

Looks good to me.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list