for -var-create lpcharacter test.
* gdb.mi/mi2-var-cmd.exp: Likewise.
+2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
+
+ * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
+ for -var-create lpcharacter test.
+ * gdb.mi/mi2-var-cmd.exp: Likewise.
+
2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
"create local variable lcharacter "
mi_gdb_test "-var-create lpcharacter * lpcharacter" \
- "\\^done,name=\"lpcharacter\",numchild=\"1\",value=\"$hex \\\\\".*\\\\\"\",type=\"char \\*\"" \
+ "\\^done,name=\"lpcharacter\",numchild=\"1\",value=\"$hex.*\",type=\"char \\*\"" \
"create local variable lpcharacter"
mi_gdb_test "-var-create llong * llong" \
"create local variable lcharacter "
mi_gdb_test "-var-create lpcharacter * lpcharacter" \
- "\\^done,name=\"lpcharacter\",numchild=\"1\",value=\"$hex \\\\\".*\\\\\"\",type=\"char \\*\"" \
+ "\\^done,name=\"lpcharacter\",numchild=\"1\",value=\"$hex.*\",type=\"char \\*\"" \
"create local variable lpcharacter"
mi_gdb_test "-var-create llong * llong" \