From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32041 invoked by alias); 26 Feb 2004 16:15:51 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 32033 invoked from network); 26 Feb 2004 16:15:50 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 26 Feb 2004 16:15:50 -0000 Received: from int-mx2.corp.redhat.com (nat-pool-rdu-dmz.redhat.com [172.16.52.200] (may be forged)) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id i1QGFnb10000 for ; Thu, 26 Feb 2004 11:15:49 -0500 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i1QGFmM16503 for ; Thu, 26 Feb 2004 11:15:48 -0500 Received: from cygbert.vinschen.de (vpn50-6.rdu.redhat.com [172.16.50.6]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id i1QGFlX12129 for ; Thu, 26 Feb 2004 08:15:47 -0800 Received: by cygbert.vinschen.de (Postfix, from userid 500) id 0083D580C7; Thu, 26 Feb 2004 17:15:43 +0100 (CET) Date: Thu, 26 Feb 2004 16:15:00 -0000 From: Corinna Vinschen To: gdb@sources.redhat.com Subject: Testsuite FAIL which isn't a FAIL in chng-syms.exp Message-ID: <20040226161543.GB1396@cygbert.vinschen.de> Reply-To: gdb@sources.redhat.com Mail-Followup-To: gdb@sources.redhat.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2i X-SW-Source: 2004-02/txt/msg00387.txt.bz2 Hi, I'm looking for a good while into this testsuite FAIL. What happens is, that the testsuite generates a FAIL which is not correct. The expression in chng-syms.exp is this: gdb_run_cmd gdb_expect { -re "Error in re-setting .*No symbol .var1..*Program exited normally.*" { pass "running with invalidated bpt condition after executable changes" } timeout { fail "(timeout) running with invalidated bpt condition after executable changes" } The output from the gdb.log file looks like this: `/build/sh-elf/gdb/testsuite/gdb.base/chng-syms' has changed; re-reading symbols.^M Error in re-setting breakpoint 1:^M No symbol "var1" in current context.^M Starting program: /build/sh-elf/gdb/testsuite/gdb.base/chng-syms ^M ^M Program exited normally.^M (gdb) FAIL: gdb.base/chng-syms.exp: (timeout) running with invalidated bpt condition after executable changes Does anybody understand why that's failing? The regular expression looks right to me. I tried to change it to get it working but everything I tried failed, except for ".*Program exited normally.*" which is not exactly helpful. :-( Corinna -- Corinna Vinschen Cygwin Developer Red Hat, Inc.