This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [mi] Some error path fixes
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: drow at false dot org (Daniel Jacobowitz)
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 9 Mar 2007 02:16:12 +0100 (CET)
- Subject: Re: [mi] Some error path fixes
Daniel Jacobowitz wrote:
> I think you're right - the braces should be removed.
OK, I've committed the following patch, which fixes the
test case on spu-elf. Thanks!
Bye,
Ulrich
ChangeLog:
* gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
pass on targets where address zero is readable.
Index: gdb/testsuite/gdb.mi/mi-var-cmd.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.mi/mi-var-cmd.exp,v
retrieving revision 1.27
diff -u -p -r1.27 mi-var-cmd.exp
--- gdb/testsuite/gdb.mi/mi-var-cmd.exp 28 Feb 2007 17:32:51 -0000 1.27
+++ gdb/testsuite/gdb.mi/mi-var-cmd.exp 9 Mar 2007 01:11:37 -0000
@@ -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" \
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com