aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.mi/mi-var-cmd.exp
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-02-28 17:32:51 +0000
committerDaniel Jacobowitz <drow@false.org>2007-02-28 17:32:51 +0000
commit664e3ee9c3e66c691f0c064f93d8e0a52b31609d (patch)
tree51e311884e6ab22fbc1bba87c6eb995866dd863b /gdb/testsuite/gdb.mi/mi-var-cmd.exp
parent2a7bf98e7d158d176c27c1ce6b224b6d5ca6c7c6 (diff)
downloadgdb-664e3ee9c3e66c691f0c064f93d8e0a52b31609d.zip
gdb-664e3ee9c3e66c691f0c064f93d8e0a52b31609d.tar.gz
gdb-664e3ee9c3e66c691f0c064f93d8e0a52b31609d.tar.bz2
* gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
func. * gdb.mi/mi2-var-cmd.exp: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi-var-cmd.exp')
-rw-r--r--gdb/testsuite/gdb.mi/mi-var-cmd.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-var-cmd.exp b/gdb/testsuite/gdb.mi/mi-var-cmd.exp
index cea1f60..1e394cc 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