This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] gdb.base -- use gdb_test_no_output
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: uweigand at de dot ibm dot com (Ulrich Weigand)
- Cc: msnyder at vmware dot com (Michael Snyder), gdb-patches at sourceware dot org (gdb-patches at sourceware dot org)
- Date: Fri, 11 Jun 2010 20:14:04 +0200 (CEST)
- Subject: Re: [RFA] gdb.base -- use gdb_test_no_output
> 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) 7.1.50.20100611-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:
<http://www.gnu.org/software/gdb/bugs/>...
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.
(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.
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com