[rfc/testsuite/objc] objcdecode.exp: fix and clean up

Daniel Jacobowitz drow@mvista.com
Tue Dec 2 16:46:00 GMT 2003

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

More information about the Gdb-patches mailing list