diff options
author | Nick Roberts <nickrob@snap.net.nz> | 2007-02-08 19:51:14 +0000 |
---|---|---|
committer | Nick Roberts <nickrob@snap.net.nz> | 2007-02-08 19:51:14 +0000 |
commit | 43343e8bdaa7c51b48eef769f6643e51b8ead478 (patch) | |
tree | 0d2819532000a29996582ea6f6b166330490599f /gdb/testsuite/gdb.mi/gdb701.exp | |
parent | 8760422267946fdce1e0633b3692de1981220d87 (diff) | |
download | gdb-43343e8bdaa7c51b48eef769f6643e51b8ead478.zip gdb-43343e8bdaa7c51b48eef769f6643e51b8ead478.tar.gz gdb-43343e8bdaa7c51b48eef769f6643e51b8ead478.tar.bz2 |
Update tests to include value field in output of -var-create.
mi/mi-cmd-var.c (mi_cmd_var_create): Add value field.
Diffstat (limited to 'gdb/testsuite/gdb.mi/gdb701.exp')
-rw-r--r-- | gdb/testsuite/gdb.mi/gdb701.exp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.mi/gdb701.exp b/gdb/testsuite/gdb.mi/gdb701.exp index 29882be..c75e7ce 100644 --- a/gdb/testsuite/gdb.mi/gdb701.exp +++ b/gdb/testsuite/gdb.mi/gdb701.exp @@ -50,9 +50,7 @@ mi_run_to_main # Step over "foo = 0" mi_next "step over \"foo = 0\"" -mi_gdb_test "-var-create fooPtr * foo" \ - "(&\".*\"\r\n)*\\^done,name=\"fooPtr\",numchild=\"3\",type=\"Foo \\*\"" \ - "create fooPtr" +mi_create_varobj fooPtr foo "create fooPtr" mi_gdb_test "-var-list-children fooPtr" \ "(&\".*\"\r\n)*\\^done,numchild=\"3\",.*" \ |