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


Ulrich Weigand wrote:
Michael Snyder wrote:

#test set language asm
-gdb_test "set language asm" "" "set language asm" +gdb_test_no_output "set language asm" "set language asm"

This fails for me:


set language asm^M
Warning: the current language does not match this frame.^M
(gdb) FAIL: gdb.base/setshow.exp: set language asm


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?

Michael


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