From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26691 invoked by alias); 11 Jun 2010 18:01:22 -0000 Received: (qmail 26621 invoked by uid 22791); 11 Jun 2010 18:01:21 -0000 X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,MSGID_FROM_MTA_HEADER,SPF_SOFTFAIL,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mtagate5.de.ibm.com (HELO mtagate5.de.ibm.com) (195.212.17.165) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 11 Jun 2010 18:01:12 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate5.de.ibm.com (8.13.1/8.13.1) with ESMTP id o5BI1A5L020068 for ; Fri, 11 Jun 2010 18:01:10 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o5BI190t1306854 for ; Fri, 11 Jun 2010 20:01:09 +0200 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id o5BI192K003866 for ; Fri, 11 Jun 2010 20:01:09 +0200 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with SMTP id o5BI18x8003859; Fri, 11 Jun 2010 20:01:08 +0200 Message-Id: <201006111801.o5BI18x8003859@d12av02.megacenter.de.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Fri, 11 Jun 2010 20:01:08 +0200 Subject: Re: [RFA] gdb.base -- use gdb_test_no_output To: msnyder@vmware.com (Michael Snyder) Date: Fri, 11 Jun 2010 18:01:00 -0000 From: "Ulrich Weigand" Cc: gdb-patches@sourceware.org (gdb-patches@sourceware.org) In-Reply-To: <4C126F18.8040504@vmware.com> from "Michael Snyder" at Jun 11, 2010 10:15:04 AM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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/msg00279.txt.bz2 Michael Snyder wrote: > 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? Well, I'm seeing the message on x86 as well. In fact, it does not originate from language.c, but from this piece of code at the end of top.c:execute_command: /* Warn the user if the working language does not match the language of the current frame. Only warn the user if we are actually running the program, i.e. there is a stack. */ /* FIXME: This should be cacheing the frame and only running when the frame changes. */ if (has_stack_frames ()) { flang = get_frame_language (); if (!warned && flang != language_unknown && flang != current_language->la_language) { printf_filtered ("%s\n", lang_frame_mismatch_warn); warned = 1; } } Not sure why this different for you ... Bye, Ulrich -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com