aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.mi
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2011-11-21 21:53:50 +0000
committerKeith Seitz <keiths@redhat.com>2011-11-21 21:53:50 +0000
commit56767571cc151f38b025a286212bc14b3452f912 (patch)
treeb811b6bdce5c9b5a64981143f2de9e072de5be4b /gdb/testsuite/gdb.mi
parent0e965dd0b2c38e9c6a430363af473aab8cb75b4a (diff)
downloadgdb-56767571cc151f38b025a286212bc14b3452f912.zip
gdb-56767571cc151f38b025a286212bc14b3452f912.tar.gz
gdb-56767571cc151f38b025a286212bc14b3452f912.tar.bz2
* 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.
Diffstat (limited to 'gdb/testsuite/gdb.mi')
-rw-r--r--gdb/testsuite/gdb.mi/mi-var-display.exp4
-rw-r--r--gdb/testsuite/gdb.mi/mi2-var-display.exp4
2 files changed, 2 insertions, 6 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-var-display.exp b/gdb/testsuite/gdb.mi/mi-var-display.exp
index ff27407..ad5bd23 100644
--- a/gdb/testsuite/gdb.mi/mi-var-display.exp
+++ b/gdb/testsuite/gdb.mi/mi-var-display.exp
@@ -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
diff --git a/gdb/testsuite/gdb.mi/mi2-var-display.exp b/gdb/testsuite/gdb.mi/mi2-var-display.exp
index 828614b..2fb0f47 100644
--- a/gdb/testsuite/gdb.mi/mi2-var-display.exp
+++ b/gdb/testsuite/gdb.mi/mi2-var-display.exp
@@ -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