aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.mi/mi-var-child-f.exp
diff options
context:
space:
mode:
authorNick Roberts <nickrob@snap.net.nz>2007-02-27 21:45:34 +0000
committerNick Roberts <nickrob@snap.net.nz>2007-02-27 21:45:34 +0000
commit3fddb3adb460904d722c1bb9c271ff41518e369e (patch)
treea11d4f949073d2b12a8da8a75098e20066d39fb3 /gdb/testsuite/gdb.mi/mi-var-child-f.exp
parent93d42b302eb91d758191675dcaf3bd90323b5224 (diff)
downloadgdb-3fddb3adb460904d722c1bb9c271ff41518e369e.zip
gdb-3fddb3adb460904d722c1bb9c271ff41518e369e.tar.gz
gdb-3fddb3adb460904d722c1bb9c271ff41518e369e.tar.bz2
* gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
* gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp Revert tests to use mi_gdb_test and include value field in output of -var-create.
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi-var-child-f.exp')
-rw-r--r--gdb/testsuite/gdb.mi/mi-var-child-f.exp4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-var-child-f.exp b/gdb/testsuite/gdb.mi/mi-var-child-f.exp
index 9c96f5b..48d6682 100644
--- a/gdb/testsuite/gdb.mi/mi-var-child-f.exp
+++ b/gdb/testsuite/gdb.mi/mi-var-child-f.exp
@@ -38,7 +38,9 @@ mi_gdb_load ${binfile}
mi_runto MAIN__
-mi_create_varobj "array" "array" "create local variable array"
+mi_gdb_test "-var-create array * array" \
+ "\\^done,name=\"array\",numchild=\"3\",value=\".*\",type=\"integer \\(2,-1:1\\)\"" \
+ "create local variable array"
mi_gdb_test "-var-list-children --all-values array" \
"\\^done,numchild=\"3\",children=\\\[child=\{name=\"array.-1\",exp=\"-1\",numchild=\"2\",value=\"\\\[2\\\]\",type=\"integer \\(2\\)\"\},child=\{name=\"array.0\",exp=\"0\",numchild=\"2\",value=\"\\\[2\\\]\",type=\"integer \\(2\\)\"\},child=\{name=\"array.1\",exp=\"1\",numchild=\"2\",value=\"\\\[2\\\]\",type=\"integer \\(2\\)\"\}\\\]" \