From: Nick Roberts Date: Thu, 8 Feb 2007 20:35:08 +0000 (+0000) Subject: Update tests to include value field in output of -var-create. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=983c9c8fbfc66e9bbfe9043d36eb900419237790;p=binutils-gdb.git Update tests to include value field in output of -var-create. mi/mi-cmd-var.c (mi_cmd_var_create): Add value field. --- diff --git a/gdb/testsuite/lib/mi-support.exp b/gdb/testsuite/lib/mi-support.exp index 181d405442f..111bc840a48 100644 --- a/gdb/testsuite/lib/mi-support.exp +++ b/gdb/testsuite/lib/mi-support.exp @@ -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 }