From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20894 invoked by alias); 11 Jun 2010 19:26:11 -0000 Received: (qmail 20884 invoked by uid 22791); 11 Jun 2010 19:26:11 -0000 X-SWARE-Spam-Status: No, hits=-5.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 11 Jun 2010 19:26:05 +0000 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o5BJQ2GT013593 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 11 Jun 2010 15:26:03 -0400 Received: from host0.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o5BJQ09N006744 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 11 Jun 2010 15:26:02 -0400 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.4/8.14.4) with ESMTP id o5BJQ0iv020468; Fri, 11 Jun 2010 21:26:00 +0200 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.4/8.14.4/Submit) id o5BJPwKI020467; Fri, 11 Jun 2010 21:25:58 +0200 Date: Fri, 11 Jun 2010 19:26:00 -0000 From: Jan Kratochvil To: Ulrich Weigand Cc: Michael Snyder , "gdb-patches@sourceware.org" Subject: Re: [RFA] gdb.base -- use gdb_test_no_output Message-ID: <20100611192558.GA20163@host0.dyn.jankratochvil.net> References: <201006111801.o5BI18x8003859@d12av02.megacenter.de.ibm.com> <201006111814.o5BIE44V024251@d12av02.megacenter.de.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201006111814.o5BIE44V024251@d12av02.megacenter.de.ibm.com> User-Agent: Mutt/1.5.20 (2009-12-10) 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: 2010-06/txt/msg00285.txt.bz2 On Fri, 11 Jun 2010 20:14:04 +0200, Ulrich Weigand wrote: > > > Well, I'm seeing the message on x86 as well. > > Actually, this is even weirder: if I try this manually, > just starting gdb on the setshow test case, and running: [...] > (gdb) b main > Breakpoint 1 at 0x8048408: file /home/uweigand/fsf/gdb-head/gdb/testsuite/gdb.base/setshow.c, line 16. > (gdb) run > Starting program: /home/uweigand/fsf/gdb-head-build/gdb/testsuite/gdb.base/setshow > > Breakpoint 1, main (argc=1, argv=0xbffff484) at /home/uweigand/fsf/gdb-head/gdb/testsuite/gdb.base/setshow.c:16 > 16 int i = 1; > (gdb) set language asm > Warning: the current language does not match this frame. > > I'm seeing the warning. > > But if I run the whole testcase under DejaGNU, it passes, and the log > does *not* show the message ... I don't quite understand what's > going on here. FYI in the testcase the inferior is no loner running when `set language asm' is entered. There is preceding: (gdb) run^M Starting program: .../gdb.base/setshow foo bar blup baz bubble^M foo bar blup baz bubble ^M Program exited normally.^M (gdb) PASS: gdb.base/setshow.exp: passing args Regards, Jan