* gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for

func.
	* gdb.mi/mi2-var-cmd.exp: Likewise.
This commit is contained in:
Daniel Jacobowitz 2007-02-28 17:32:51 +00:00
parent 2a7bf98e7d
commit 664e3ee9c3
3 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
func.
* gdb.mi/mi2-var-cmd.exp: Likewise.
2007-02-27 Joel Brobecker <brobecker@adacore.com>
* gdb.dwarf2/dw2-producer.S: New file.

View File

@ -84,7 +84,7 @@ mi_gdb_test "-var-create lpinteger * lpinteger" \
mi_gdb_test "-var-create lcharacter * lcharacter" \
"\\^done,name=\"lcharacter\",numchild=\"0\",value=\".*\",type=\"char\"" \
"create local variablelcharacter "
"create local variable lcharacter "
mi_gdb_test "-var-create lpcharacter * lpcharacter" \
"\\^done,name=\"lpcharacter\",numchild=\"1\",value=\"$hex \\\\\".*\\\\\"\",type=\"char \\*\"" \
@ -123,7 +123,7 @@ mi_gdb_test "-var-create lpsimple * lpsimple" \
"create local variable lpsimple"
mi_gdb_test "-var-create func * func" \
"\\^done,name=\"func\",numchild=\"0\",value=\"$hex\",type=\"void \\(\\*\\)\\((void|)\\)\"" \
"\\^done,name=\"func\",numchild=\"0\",value=\".*\",type=\"void \\(\\*\\)\\((void|)\\)\"" \
"create local variable func"
# Test: c_variable-1.5

View File

@ -84,7 +84,7 @@ mi_gdb_test "-var-create lpinteger * lpinteger" \
mi_gdb_test "-var-create lcharacter * lcharacter" \
"\\^done,name=\"lcharacter\",numchild=\"0\",value=\".*\",type=\"char\"" \
"create local variablelcharacter "
"create local variable lcharacter "
mi_gdb_test "-var-create lpcharacter * lpcharacter" \
"\\^done,name=\"lpcharacter\",numchild=\"1\",value=\"$hex \\\\\".*\\\\\"\",type=\"char \\*\"" \
@ -123,7 +123,7 @@ mi_gdb_test "-var-create lpsimple * lpsimple" \
"create local variable lpsimple"
mi_gdb_test "-var-create func * func" \
"\\^done,name=\"func\",numchild=\"0\",value=\"$hex\",type=\"void \\(\\*\\)\\((void|)\\)\"" \
"\\^done,name=\"func\",numchild=\"0\",value=\".*\",type=\"void \\(\\*\\)\\((void|)\\)\"" \
"create local variable func"
# Test: c_variable-1.5