From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30713 invoked by alias); 11 Jun 2010 17:15:15 -0000 Received: (qmail 30702 invoked by uid 22791); 11 Jun 2010 17:15:13 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp-outbound-1.vmware.com (HELO smtp-outbound-1.vmware.com) (65.115.85.69) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 11 Jun 2010 17:15:07 +0000 Received: from mailhost4.vmware.com (mailhost4.vmware.com [10.16.67.124]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 6977E1301D; Fri, 11 Jun 2010 10:15:05 -0700 (PDT) Received: from msnyder-server.eng.vmware.com (promd-2s-dhcp138.eng.vmware.com [10.20.124.138]) by mailhost4.vmware.com (Postfix) with ESMTP id 2EECAC9A53; Fri, 11 Jun 2010 10:15:05 -0700 (PDT) Message-ID: <4C126F18.8040504@vmware.com> Date: Fri, 11 Jun 2010 17:15:00 -0000 From: Michael Snyder User-Agent: Thunderbird 2.0.0.22 (X11/20090609) MIME-Version: 1.0 To: Ulrich Weigand CC: "gdb-patches@sourceware.org" Subject: Re: [RFA] gdb.base -- use gdb_test_no_output References: <201006111631.o5BGV3qW020906@d12av02.megacenter.de.ibm.com> In-Reply-To: <201006111631.o5BGV3qW020906@d12av02.megacenter.de.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/msg00272.txt.bz2 Ulrich Weigand wrote: > Michael Snyder wrote: > >> #test set language asm >> -gdb_test "set language asm" "" "set language asm" >> +gdb_test_no_output "set language asm" "set language asm" > > This fails for me: > > set language asm^M > Warning: the current language does not match this frame.^M > (gdb) FAIL: gdb.base/setshow.exp: set language asm Hmmm... well I'm prepared to revert that line, but I'm puzzled as to why this output should appear for you and not for me. I presume your arch is cell, whereas I tested on x86. But this message comes from arch-neutral language.c, and AFAICT should only appear on the command "show language", not "set language". Can you see something that I'm missing? Michael