This is the mail archive of the
mailing list for the GDB project.
Re: [RFA] gdb.base -- use gdb_test_no_output
- From: Michael Snyder <msnyder at vmware dot com>
- To: Ulrich Weigand <uweigand at de dot ibm dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Fri, 11 Jun 2010 11:27:15 -0700
- Subject: Re: [RFA] gdb.base -- use gdb_test_no_output
- References: <201006111814.o5BIE44V024251@d12av02.megacenter.de.ibm.com>
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:
uweigand@br8ermyc:~/fsf/gdb-head-build/gdb/testsuite/gdb.base$ ../../gdb ./setshow
GNU gdb (GDB) 220.127.116.1100611-cvs
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
For bug reporting instructions, please see:
Reading symbols from /home/uweigand/fsf/gdb-head-build/gdb/testsuite/gdb.base/setshow...done.
(gdb) b main
Breakpoint 1 at 0x8048408: file /home/uweigand/fsf/gdb-head/gdb/testsuite/gdb.base/setshow.c, line 16.
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.
Aha! I see the same thing. That's comforting, anyway.
But you said that you got a testsuite fail?