This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [mi] Some error path fixes


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]