This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Fix MI xfail
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: vladimir at codesourcery dot com (Vladimir Prus)
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sat, 29 Mar 2008 22:26:10 +0100 (CET)
- Subject: 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