This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfc/testsuite/objc] objcdecode.exp: fix and clean up
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Michael Elizabeth Chastain <mec dot gnu at mindspring dot com>
- Cc: fedor at gnu dot org, gdb-patches at sources dot redhat dot com
- Date: Tue, 2 Dec 2003 11:46:56 -0500
- Subject: Re: [rfc/testsuite/objc] objcdecode.exp: fix and clean up
- References: <20031128173004.D4D5C4B363@berman.michael-chastain.com>
On Fri, Nov 28, 2003 at 12:30:04PM -0500, Michael Chastain wrote:
> This is a similar fix-and-cleanup patch for gdb.objc/objcdecode.exp.
>
> Again, this cleans up the regular expressions and adds an explicit
> test for the output that I'm currently getting from gdb HEAD.
>
> The big problem here was:
>
> -re "\\\[0\\\] cancel.*\\\[1\\\] all.*\\\[2\\\] -.Decode multipleDef. at .*\\\[3\\\] multipleDef at .*"
>
> Because this ends in a ".*" instead of an anchor character,
> "expect" will consume a non-deterministic amount of input.
> This causes non-deterministic de-synchronized results for the
> next test.
>
> Testing: native i686-pc-linux-gnu, gcc v2 and v3, dwarf-2 and stabs+.
>
> Okay to commit?
This is OK also. Thanks for cleaning these up.
> 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
>
> * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
> from current versions of gdb. Clean up regular expressions.
> Delete redundant timeout case.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer