aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-03-09 01:14:12 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-03-09 01:14:12 +0000
commit7acd5c40d2408eecd14dd4064a3a49763db4711b (patch)
tree3881ba3380a027f947327fd0234ef8b01e7a64a1 /gdb/testsuite
parent9c6759c1a15bd2e331bcfbef32d24f050cfc5fc8 (diff)
downloadgdb-7acd5c40d2408eecd14dd4064a3a49763db4711b.zip
gdb-7acd5c40d2408eecd14dd4064a3a49763db4711b.tar.gz
gdb-7acd5c40d2408eecd14dd4064a3a49763db4711b.tar.bz2
* gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
pass on targets where address zero is readable.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.mi/mi-var-cmd.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 6f9c051..784da15 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,10 @@
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.
+
+2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
+
* gdb.xml/tdesc-arch.exp: Test is unsupported on target with
just a single architecture.
diff --git a/gdb/testsuite/gdb.mi/mi-var-cmd.exp b/gdb/testsuite/gdb.mi/mi-var-cmd.exp
index 1e394cc..fbf754d 100644
--- a/gdb/testsuite/gdb.mi/mi-var-cmd.exp
+++ b/gdb/testsuite/gdb.mi/mi-var-cmd.exp
@@ -603,7 +603,7 @@ mi_gdb_test "-var-create null_ptr * **0" \
# will not test what it was meant to. Most important is that GDB
# does not crash.
mi_gdb_test "-var-update null_ptr" \
- {\^done,changelist=\[{.*}\]} \
+ {\^done,changelist=\[.*\]} \
"update null_ptr"
mi_gdb_test "-var-delete null_ptr" \