* gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
authorDaniel Jacobowitz <drow@false.org>
Wed, 28 Feb 2007 17:32:51 +0000 (17:32 +0000)
committerDaniel Jacobowitz <drow@false.org>
Wed, 28 Feb 2007 17:32:51 +0000 (17:32 +0000)
func.
* gdb.mi/mi2-var-cmd.exp: Likewise.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/mi-var-cmd.exp
gdb/testsuite/gdb.mi/mi2-var-cmd.exp

index 371ef4de6a40b5ab269a4d52e2b42575aa0ca8b7..f4f8dc1db927c1f83534953530640b23dcacac5c 100644 (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.
index cea1f603321e0d0fe61e3679225c0248859e155e..1e394ccc9ad5efb25bc60ca4eb62b2161e7a0987 100644 (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
index e22d398a3b5fe32e6303538d6e40a84db073be1e..c2129cc7f549d80a9c69b41219025638475d5df3 100644 (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