First release candidate for GDB 6.4 available

Kunal Parmar kunal.parmar@codito.com
Fri Nov 25 15:57:00 GMT 2005



Wu Zhou wrote:

>On Thu, 24 Nov 2005, Daniel Jacobowitz wrote:
>
>  
>
>>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.
>>    
>>
>
>Sorry.  What is a bug, handle the anonymous union as normal variable, or 
>don't?
>
>Regards
>- Wu Zhou
>
>  
>
The problem was that the dwarf info generated was incorrect.
It has been fixed in GCC 4.x

Regards,
Kunal Parmar.



More information about the Gdb mailing list