This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [mi] Some error path fixes
- From: Daniel Jacobowitz <drow at false dot org>
- To: Ulrich Weigand <uweigand at de dot ibm dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 8 Mar 2007 20:02:38 -0500
- Subject: Re: [mi] Some error path fixes
- References: <20061207220013.GA9470@nevyn.them.org> <200703090055.l290tKxL022867@d12av02.megacenter.de.ibm.com>
I'm really not showing well today... :-(
On Fri, Mar 09, 2007 at 01:55:20AM +0100, Ulrich Weigand wrote:
> This fails on SPU, where address zero is indeed readable. I get:
>
> -var-create null_ptr * **0^M
> ^done,name="null_ptr",numchild="0",value="",type="int"^M
> (gdb) ^M
> PASS: gdb.mi/mi-var-cmd.exp: create null_ptr
> -var-update null_ptr^M
> ^done,changelist=[]^M
> (gdb) ^M
> FAIL: gdb.mi/mi-var-cmd.exp: update null_ptr
>
> Note the completely empty changelist, while the test checks
> for at least one element { ... }.
>
> Is this a testcase bug, or should there really be a change?
I think you're right - the braces should be removed.
--
Daniel Jacobowitz
CodeSourcery