MI/C++/references fixup

Daniel Jacobowitz drow@false.org
Thu Dec 7 14:39:00 GMT 2006


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



More information about the Gdb-patches mailing list