* gdb.mi/mi-var-cmd.exp: Allow value without "..." string
authorUlrich Weigand <uweigand@de.ibm.com>
Fri, 9 Mar 2007 02:20:04 +0000 (02:20 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Fri, 9 Mar 2007 02:20:04 +0000 (02:20 +0000)
for -var-create lpcharacter test.
* 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 784da1533f6ed8530aacaed8b768c64e3453f4ca..81101fd7a2a1d5d3ac943e55e08879d04198a308 100644 (file)
@@ -1,3 +1,9 @@
+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
index fbf754db24644d7266ea0312f3d506d0dd5ad30d..c8b3c6462aa29cbcf2be356ecc26110885c9407a 100644 (file)
@@ -87,7 +87,7 @@ mi_gdb_test "-var-create lcharacter * lcharacter" \
        "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" \
index c2129cc7f549d80a9c69b41219025638475d5df3..11b65ceb434ba6212afbc2665510f52c64e35c29 100644 (file)
@@ -87,7 +87,7 @@ mi_gdb_test "-var-create lcharacter * lcharacter" \
        "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" \