Hi, mi{,2}-var-display.exp contains an XFAIL for the following test: # Test: c_variable-7.51 # Desc: value of e mi_gdb_test "-var-evaluate-expression e" \ "\\^done,value=\"FIXME\"" \ "eval variable e" There is no bug filed for this (or for any of the other twenty-six setup_xfail calls in gdb.mi/), and I could find no history of why this was expected to fail. AFAICT, it has been this way from the beginning. I suspect that this was xfailed because the test originally stopped in the beginning of the function, and there was no way to (easily?) get the value of the initialized enum. But that all changed with this commit: http://sourceware.org/ml/gdb-patches/2008-04/msg00007.html This xfail no longer seems necessary, so I've attached a patch to fix the test case and remove the XFAIL. Keith testsuite/ChangeLog 2011-11-18 Keith Seitz * gdb.mi/mi-var-display.exp: Remove XFAIL for c_variable-7.51, -var-evaluate-expression of an enumeration and fix expected result. * gdb.mi/mi2-varvdisplay.exp: Likewise.