From: Ulrich Weigand Date: Fri, 9 Mar 2007 02:20:04 +0000 (+0000) Subject: * gdb.mi/mi-var-cmd.exp: Allow value without "..." string X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b8953b0e7ef9a2c8de1d8cd7c5c2cedab201129a;p=binutils-gdb.git * gdb.mi/mi-var-cmd.exp: Allow value without "..." string for -var-create lpcharacter test. * gdb.mi/mi2-var-cmd.exp: Likewise. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 784da1533f6..81101fd7a2a 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 fbf754db246..c8b3c6462aa 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 c2129cc7f54..11b65ceb434 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" \