[PATCH]: some testsuite fixes

Nathan Sidwell nathan@codesourcery.com
Wed Feb 9 14:39:00 GMT 2005


Hi,
here are a set of cleanups for the testsuite.  Mostly they are tests
where we've forgotton to check some enabling variable.  The others are

* gdb.trace/collection.exp: Some of the checking regexps were not robust
enough for slightly different output.  Also, there's a race condition
with the use of gdb_run_cmd.  We need to wait until the breakpoint in 'begin'
is reached before trying to send the 'tstart' command.

* gdb.trace/tfind.exp:  There's a comment asking why the testcase is
optimized.  With gcc 3.4, if optimization is enabled, the leaf function is
inlined and the test fails.  So I think optimization is not a good idea.

ok?

nathan
-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test1.patch
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20050209/34d2d86d/attachment.ksh>


More information about the Gdb-patches mailing list