aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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" \