* 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.
This commit is contained in:
Keith Seitz 2011-11-21 21:53:50 +00:00
parent 0e965dd0b2
commit 56767571cc
3 changed files with 8 additions and 6 deletions

View File

@ -1,3 +1,9 @@
2011-11-21 Keith Seitz <keiths@redhat.com>
* 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.
2011-11-21 Kwok Cheung Yeung <kcy@codesourcery.com>
* osdata.c (info_osdata_command): Rename nprocs to nrows. Handle

View File

@ -529,13 +529,11 @@ mi_list_varobj_children anons {
# Desc: create enum e
mi_create_varobj e e "create local variable e"
setup_xfail "*-*-*"
# Test: c_variable-7.51
# Desc: value of e
mi_gdb_test "-var-evaluate-expression e" \
"\\^done,value=\"FIXME\"" \
"\\^done,value=\"bar\"" \
"eval variable e"
clear_xfail "*-*-*"
# Test: c_variable-7.52
# Desc: type of e

View File

@ -528,13 +528,11 @@ mi_list_varobj_children anons {
# Desc: create enum e
mi_create_varobj e e "create local variable e"
setup_xfail "*-*-*"
# Test: c_variable-7.51
# Desc: value of e
mi_gdb_test "-var-evaluate-expression e" \
"\\^done,value=\"FIXME\"" \
"\\^done,value=\"bar\"" \
"eval variable e"
clear_xfail "*-*-*"
# Test: c_variable-7.52
# Desc: type of e