diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-03-09 02:20:04 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-03-09 02:20:04 +0000 |
commit | b8953b0e7ef9a2c8de1d8cd7c5c2cedab201129a (patch) | |
tree | 02c0c1049183e9801c4e7301a4c3d3e68d2b1f64 /gdb | |
parent | 7acd5c40d2408eecd14dd4064a3a49763db4711b (diff) | |
download | gdb-b8953b0e7ef9a2c8de1d8cd7c5c2cedab201129a.zip gdb-b8953b0e7ef9a2c8de1d8cd7c5c2cedab201129a.tar.gz gdb-b8953b0e7ef9a2c8de1d8cd7c5c2cedab201129a.tar.bz2 |
* gdb.mi/mi-var-cmd.exp: Allow value without "..." string
for -var-create lpcharacter test.
* gdb.mi/mi2-var-cmd.exp: Likewise.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-var-cmd.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi2-var-cmd.exp | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 784da15..81101fd 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,11 @@ 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 pass on targets where address zero is readable. diff --git a/gdb/testsuite/gdb.mi/mi-var-cmd.exp b/gdb/testsuite/gdb.mi/mi-var-cmd.exp index fbf754d..c8b3c64 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 c2129cc..11b65ce 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" \ |