summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.mi/mi-var-cmd.exp
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/gdb.mi/mi-var-cmd.exp
parent9c6759c1a15bd2e331bcfbef32d24f050cfc5fc8 (diff)
downloadbinutils-gdb-7acd5c40d2408eecd14dd4064a3a49763db4711b.tar.gz
* 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/gdb.mi/mi-var-cmd.exp')
-rw-r--r--gdb/testsuite/gdb.mi/mi-var-cmd.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-var-cmd.exp b/gdb/testsuite/gdb.mi/mi-var-cmd.exp
index 1e394ccc9ad..fbf754db246 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" \