Update tests to include value field in output of -var-create.
authorNick Roberts <nickrob@snap.net.nz>
Thu, 8 Feb 2007 20:35:08 +0000 (20:35 +0000)
committerNick Roberts <nickrob@snap.net.nz>
Thu, 8 Feb 2007 20:35:08 +0000 (20:35 +0000)
mi/mi-cmd-var.c (mi_cmd_var_create):  Add value field.

gdb/testsuite/lib/mi-support.exp

index 181d405442ff6e9969a15b5d45ceb7eece5a2441..111bc840a48e8509fd6de536a54d7432532f9529 100644 (file)
@@ -1019,7 +1019,7 @@ proc mi0_continue_to { bkptno func args file line test } {
 # Name cannot be "-".
 proc mi_create_varobj { name expression testname } {
     mi_gdb_test "-var-create $name * $expression" \
-        "\\^done,name=\"$name\",numchild=\"\[0-9\]+\",type=.*" \
+        "\\^done,name=\"$name\",numchild=\"\[0-9\]+\",value=\".*\",type=.*" \
         $testname
 }