* gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to

pass on targets where address zero is readable.
This commit is contained in:
Ulrich Weigand 2007-03-09 01:14:12 +00:00
parent 9c6759c1a1
commit 7acd5c40d2
2 changed files with 6 additions and 1 deletions

View 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

View 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" \