This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] Fix value_assign return value (Re: [patch] fix pre-/post- in-/decrement)
- From: Daniel Jacobowitz <dan at codesourcery dot com>
- To: Ulrich Weigand <uweigand at de dot ibm dot com>
- Cc: Ken Werner <ken at linux dot vnet dot ibm dot com>, gdb-patches at sourceware dot org, Joel Brobecker <brobecker at adacore dot com>, Vladimir Prus <vladimir at codesourcery dot com>
- Date: Tue, 26 Oct 2010 09:41:47 -0400
- Subject: Re: [rfc] Fix value_assign return value (Re: [patch] fix pre-/post- in-/decrement)
- References: <20101005134200.GJ6985@caradoc.them.org> <201010061859.o96IxIMF012683@d12av02.megacenter.de.ibm.com>
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