diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 784da1533f..81101fd7a2 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2007-03-08 Ulrich Weigand + + * 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 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to diff --git a/gdb/testsuite/gdb.mi/mi-var-cmd.exp b/gdb/testsuite/gdb.mi/mi-var-cmd.exp index fbf754db24..c8b3c6462a 100644 --- a/gdb/testsuite/gdb.mi/mi-var-cmd.exp +++ b/gdb/testsuite/gdb.mi/mi-var-cmd.exp @@ -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" \ diff --git a/gdb/testsuite/gdb.mi/mi2-var-cmd.exp b/gdb/testsuite/gdb.mi/mi2-var-cmd.exp index c2129cc7f5..11b65ceb43 100644 --- a/gdb/testsuite/gdb.mi/mi2-var-cmd.exp +++ b/gdb/testsuite/gdb.mi/mi2-var-cmd.exp @@ -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" \