From: Daniel Jacobowitz Date: Wed, 28 Feb 2007 17:32:51 +0000 (+0000) Subject: * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=664e3ee9c3e66c691f0c064f93d8e0a52b31609d;p=binutils-gdb.git * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for func. * gdb.mi/mi2-var-cmd.exp: Likewise. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 371ef4de6a4..f4f8dc1db92 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2007-02-28 Daniel Jacobowitz + + * 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 * gdb.dwarf2/dw2-producer.S: New file. diff --git a/gdb/testsuite/gdb.mi/mi-var-cmd.exp b/gdb/testsuite/gdb.mi/mi-var-cmd.exp index cea1f603321..1e394ccc9ad 100644 --- a/gdb/testsuite/gdb.mi/mi-var-cmd.exp +++ b/gdb/testsuite/gdb.mi/mi-var-cmd.exp @@ -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 diff --git a/gdb/testsuite/gdb.mi/mi2-var-cmd.exp b/gdb/testsuite/gdb.mi/mi2-var-cmd.exp index e22d398a3b5..c2129cc7f54 100644 --- a/gdb/testsuite/gdb.mi/mi2-var-cmd.exp +++ b/gdb/testsuite/gdb.mi/mi2-var-cmd.exp @@ -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