Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Ulrich Weigand <uweigand@de.ibm.com>
Cc: Michael Snyder <msnyder@vmware.com>,
	       "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: Re: [RFA] gdb.base -- use gdb_test_no_output
Date: Fri, 11 Jun 2010 19:26:00 -0000	[thread overview]
Message-ID: <20100611192558.GA20163@host0.dyn.jankratochvil.net> (raw)
In-Reply-To: <201006111814.o5BIE44V024251@d12av02.megacenter.de.ibm.com>

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


  parent reply	other threads:[~2010-06-11 19:26 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
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 [this message]
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=20100611192558.GA20163@host0.dyn.jankratochvil.net \
    --to=jan.kratochvil@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=msnyder@vmware.com \
    --cc=uweigand@de.ibm.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