* 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 6f9c051d676ca706e986d6f455cb2cd427fe6a8e..784da1533f6ed8530aacaed8b768c64e3453f4ca 100644 (file)
@@ -1,3 +1,8 @@
+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
index 1e394ccc9ad5efb25bc60ca4eb62b2161e7a0987..fbf754db24644d7266ea0312f3d506d0dd5ad30d 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" \
This page took 0.044994 seconds and 4 git commands to generate.