First release candidate for GDB 6.4 available

Daniel Jacobowitz drow@false.org
Fri Nov 25 03:15:00 GMT 2005


On Fri, Nov 25, 2005 at 10:53:50AM +0800, Wu Zhou wrote:
> > ...
> > > FAIL: gdb.cp/anon-union.exp: print w 1
> > > FAIL: gdb.cp/anon-union.exp: print z 1
> > > FAIL: gdb.cp/anon-union.exp: print w 2
> > > FAIL: gdb.cp/anon-union.exp: print z 2
> > > FAIL: gdb.cp/anon-union.exp: print w 3
> > > FAIL: gdb.cp/anon-union.exp: print z 3
> 
> I guess that GDB don't know how to handle anonymous union yet.  I ever saw 
> these failures in a few platform.  And also see them ok on others.  The 
> difference I find is that some version of gcc handle the anonymous union 
> members as normal variables, others don't. 

I believe this was a bug in GCC 4.x, very recently fixed in CVS.


-- 
Daniel Jacobowitz
CodeSourcery, LLC



More information about the Gdb mailing list