Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Ulrich Weigand" <uweigand@de.ibm.com>
To: msnyder@vmware.com (Michael Snyder)
Cc: gdb-patches@sourceware.org (gdb-patches@sourceware.org)
Subject: Re: [RFA] gdb.base -- use gdb_test_no_output
Date: Fri, 11 Jun 2010 18:01:00 -0000	[thread overview]
Message-ID: <201006111801.o5BI18x8003859@d12av02.megacenter.de.ibm.com> (raw)
In-Reply-To: <4C126F18.8040504@vmware.com> from "Michael Snyder" at Jun 11, 2010 10:15:04 AM

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


  reply	other threads:[~2010-06-11 18:01 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-30 21:13 Michael Snyder
2010-06-01 19:43 ` Joel Brobecker
2010-06-01 21:30   ` Michael Snyder
2010-06-11 16:31 ` Ulrich Weigand
2010-06-11 17:15   ` Michael Snyder
2010-06-11 18:01     ` Ulrich Weigand [this message]
2010-06-11 18:14       ` Ulrich Weigand
2010-06-11 18:27         ` Michael Snyder
2010-06-11 19:05           ` Ulrich Weigand
2010-06-11 19:26         ` Jan Kratochvil
2010-06-11 19:35           ` Ulrich Weigand
2010-06-11 20:57             ` Michael Snyder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201006111801.o5BI18x8003859@d12av02.megacenter.de.ibm.com \
    --to=uweigand@de.ibm.com \
    --cc=gdb-patches@sourceware.org \
    --cc=msnyder@vmware.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox