Test for base-in-references bug

Vladimir Prus vladimir@codesourcery.com
Fri Dec 8 14:12:00 GMT 2006


This patch adds testcase for base-in-references bug that was recently fixed.
I've verified that the new testcase fails with my patches reverted, and passes
when they are put back. OK?

- Volodya

	Test for base in references.
	* gdb.mi/mi-var-cp.cc: Add test code.
	* gdb.mi/mi-var-cp.exp: Test for bases in references.
	* gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
	* gdb.mi/mi2-watch.exp: Likewise.
	* lib/mi-support.exp (mi_runto): Use temporary breakpoint.
	(mi_list_varobj_children): New function.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: base_in_references_test.diff
Type: text/x-diff
Size: 7663 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20061208/6140a918/attachment.bin>


More information about the Gdb-patches mailing list