diff options
author | Nick Roberts <nickrob@snap.net.nz> | 2007-02-27 21:45:34 +0000 |
---|---|---|
committer | Nick Roberts <nickrob@snap.net.nz> | 2007-02-27 21:45:34 +0000 |
commit | 3fddb3adb460904d722c1bb9c271ff41518e369e (patch) | |
tree | a11d4f949073d2b12a8da8a75098e20066d39fb3 /gdb/testsuite/gdb.mi/mi-var-child-f.exp | |
parent | 93d42b302eb91d758191675dcaf3bd90323b5224 (diff) | |
download | gdb-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.exp | 4 |
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\\)\"\}\\\]" \ |