From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19273 invoked by alias); 31 Jan 2007 17:12:49 -0000 Received: (qmail 19262 invoked by uid 22791); 31 Jan 2007 17:12:48 -0000 X-Spam-Check-By: sourceware.org Received: from ns.suse.de (HELO mx1.suse.de) (195.135.220.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 31 Jan 2007 17:12:39 +0000 Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 9B32C1249B for ; Wed, 31 Jan 2007 18:12:37 +0100 (CET) From: Andreas Schwab To: gdb-patches@sourceware.org Subject: Testsuite failures in gdb.gdb/selftest.exp X-Yow: I need to discuss BUY-BACK PROVISIONS with at least six studio SLEAZEBALLS!! Date: Wed, 31 Jan 2007 17:12:00 -0000 Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-01/txt/msg00614.txt.bz2 With heavy optimizations there can be even more code reordering, causing spurious failures in do_steps_and_nexts. The quit_flag case was seen on ppc, the gdb_std{out,err} cases on ia64. Andreas. 2007-01-31 Andreas Schwab * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches. --- gdb/testsuite/gdb.gdb/selftest.exp.~1.10.~ 2007-01-10 11:18:59.000000000 +0100 +++ gdb/testsuite/gdb.gdb/selftest.exp 2007-01-31 18:02:16.000000000 +0100 @@ -177,6 +177,10 @@ proc do_steps_and_nexts {} { set description "step over ndir initialization" set command "step" } + -re ".*quit_flag = 0.*$gdb_prompt $" { + set description "step over quit_flag initialization" + set command "step" + } -re ".*instream = stdin.*$gdb_prompt $" { set description "step over instream initialization" set command "step" @@ -185,6 +189,14 @@ proc do_steps_and_nexts {} { set description "next over getcwd" set command "next" } + -re ".*gdb_stdout = stdio_fileopen .stdout.;.*$gdb_prompt $" { + set description "step over gdb_stdout initialization" + set command "step" + } + -re ".*gdb_stderr = stdio_fileopen .stderr.;.*$gdb_prompt $" { + set description "step over gdb_stderr initialization" + set command "step" + } -re "\[ \t\]+\{\r\n$gdb_prompt $" { setup_xfail "mips-*-irix5*" fail "$description ended up at odd location" -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."