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: Fix MI xfail


Vladimir Prus wrote:

> One MI test is xfailed, but passes for me since forever. I've
> checked in the following.

> -setup_xfail "*-*-*"
>  # Test: c_variable-7.61
>  # Desc: value of anone
>  mi_gdb_test "-var-evaluate-expression anone" \
>  	"\\^done,value=\"A\"" \
>  	"eval variable anone"
> -clear_xfail "*-*-*"

Actually, those tests now fail for me on various platforms:

-var-evaluate-expression anone^M
^done,value="261776"^M
(gdb) ^M
FAIL: gdb.mi/mi-var-display.exp: eval variable anone

It seems that at the breakpoint in do_special_tests (line 312)
this variable has not yet been initialized, so you'd see
random values ...

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


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