From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19323 invoked by alias); 3 Aug 2007 13:50:17 -0000 Received: (qmail 19304 invoked by uid 22791); 3 Aug 2007 13:50:15 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 03 Aug 2007 13:50:10 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 07A3D98123; Fri, 3 Aug 2007 13:50:10 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id DC08698122; Fri, 3 Aug 2007 13:50:09 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1IGxXb-0005yr-8v; Fri, 03 Aug 2007 09:50:07 -0400 Date: Fri, 03 Aug 2007 13:50:00 -0000 From: Daniel Jacobowitz To: Robert Norton Cc: gdb@sourceware.org Subject: Re: Test failure in mi-cli.exp Message-ID: <20070803135007.GA22975@caradoc.them.org> Mail-Followup-To: Robert Norton , gdb@sourceware.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-08/txt/msg00022.txt.bz2 On Fri, Aug 03, 2007 at 06:28:37AM -0700, Robert Norton wrote: > The problem is that setting $pc to 0 puts us in an asm file causing the > ~"Current language:" message which doesn't match the regex. The same > failure occurs in mi2-cli.exp. Since setting the pc is quite likely to > cause messages of this type on various targets may I propose changing > the test to something like: > > mi_gdb_test "888-interpreter-exec console \"set \$pc=0x0\"" \ > {.*888\^done} \ > "-interpreter-exec console \"set \$pc=0x0\"" > > (Note the .* before 888\^done) Or just recognize the "Current language" message specifically. I would rather avoid .* in MI tests where we don't need it. -- Daniel Jacobowitz CodeSourcery