* gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
authorUlrich Weigand <uweigand@de.ibm.com>
Fri, 9 Mar 2007 01:14:12 +0000 (01:14 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Fri, 9 Mar 2007 01:14:12 +0000 (01:14 +0000)
pass on targets where address zero is readable.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/mi-var-cmd.exp

index 6f9c051..784da15 100644 (file)
@@ -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.
 
index 1e394cc..fbf754d 100644 (file)
@@ -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" \