This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] gdb.base -- use gdb_test_no_output


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]