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/gdb701.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/gdb701.exp')
-rw-r--r-- | gdb/testsuite/gdb.mi/gdb701.exp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.mi/gdb701.exp b/gdb/testsuite/gdb.mi/gdb701.exp index c75e7ce..8a384da 100644 --- a/gdb/testsuite/gdb.mi/gdb701.exp +++ b/gdb/testsuite/gdb.mi/gdb701.exp @@ -50,7 +50,9 @@ mi_run_to_main # Step over "foo = 0" mi_next "step over \"foo = 0\"" -mi_create_varobj fooPtr foo "create fooPtr" +mi_gdb_test "-var-create fooPtr * foo" \ + "(&\".*\"\r\n)*\\^done,name=\"fooPtr\",numchild=\"3\",value=\".*\",type=\"Foo \\*\"" \ + "create fooPtr" mi_gdb_test "-var-list-children fooPtr" \ "(&\".*\"\r\n)*\\^done,numchild=\"3\",.*" \ |