From 7acd5c40d2408eecd14dd4064a3a49763db4711b Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Fri, 9 Mar 2007 01:14:12 +0000 Subject: [PATCH] * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to pass on targets where address zero is readable. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.mi/mi-var-cmd.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 6f9c051d676..784da1533f6 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2007-03-08 Ulrich Weigand + + * 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 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with 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" \ -- 2.30.2