This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: MI/C++/references fixup
- From: Daniel Jacobowitz <drow at false dot org>
- To: Vladimir Prus <ghost at cs dot msu dot su>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 7 Dec 2006 09:38:47 -0500
- Subject: Re: MI/C++/references fixup
- References: <200611291215.21876.vladimir@codesourcery.com> <17774.7608.862541.696058@kahikatea.snap.net.nz> <200611301031.07625.vladimir@codesourcery.com> <200611291715.05247.vladimir@codesourcery.com> <20061129142435.GD29365@nevyn.them.org> <200611291741.13617.vladimir@codesourcery.com> <20061205211129.GB27898@nevyn.them.org> <el61pt$dth$1@sea.gmane.org>
On Wed, Dec 06, 2006 at 12:16:45PM +0300, Vladimir Prus wrote:
> Here's revised patch. Ok for HEAD?
>
> - Volodya
>
> * varobj.c (varobj_create): Don't call release_value.
> (varobj_set_value): Likewise.
> (install_new_value): Call coerce_ref and release_value
> on the value. Add asserts.
>
> testsuite/
> * lib/mi-support.exp
> (mi_runto): Accept "()" after function name.
> (mi_create_varobj): New function.
> (mi_varobj_update): New function.
> (mi_Check_varobj_value): New function.
> * gdb.mi/mi-var-cp.exp: New file.
> * gdb.mi/mi-var-cp.cc: New file.
Yes, this is OK. Thanks!
--
Daniel Jacobowitz
CodeSourcery