[patch] testcase: Fix spurious structs.exp FAILs

Joel Brobecker brobecker@adacore.com
Mon Dec 21 05:52:00 GMT 2009


> gdb/testsuite/
> 2009-11-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
> 
> 	Fix spurious false FAILs.
> 	* gdb.base/structs.c (chartest): New.
> 	(main): Fill-in chartest.
> 	* gdb.base/structs.exp (anychar_re, first): New.
> 	(start_structs_test): Import global anychar_re and first.
> 	New gdb_test call "set print elements 300; ${testfile}"
> 	(start_structs_test <$first>): New block.
> 	(any): Import global anychar_re.  New variable ac.  Use ${ac}.

FYI: Checked in the gdb-7.0 branch.


-- 
Joel



More information about the Gdb-patches mailing list