------- Comment #6 from jan dot kratochvil at redhat dot com  2009-03-28 21:34 
-------
No regressions for GDB.
GDB requires the extra patch otherwise it still does not work with patched GCC:
http://sourceware.org/ml/gdb-patches/2009-03/msg00595.html

FYI the patch generates one extra file-scope declaration:
int f (void) { extern int var; return var; }

    < c>   DW_AT_producer    : (indirect string, offset: 0x0): GNU C 4.5.0
20090328 (experimental)      
 <1><2d>: Abbrev Number: 2 (DW_TAG_subprogram)
    <2f>   DW_AT_name        : f        
[...]
 <2><50>: Abbrev Number: 3 (DW_TAG_variable)
    <51>   DW_AT_name        : var      
    <55>   DW_AT_decl_file   : 1        
    <56>   DW_AT_decl_line   : 1        
    <57>   DW_AT_type        : <0x5e>   
    <5b>   DW_AT_external    : 1        
    <5c>   DW_AT_declaration : 1        
[...]
 <1><65>: Abbrev Number: 3 (DW_TAG_variable)
    <66>   DW_AT_name        : var      
    <6a>   DW_AT_decl_file   : 1        
    <6b>   DW_AT_decl_line   : 1        
    <6c>   DW_AT_type        : <0x5e>   
    <70>   DW_AT_external    : 1        
    <71>   DW_AT_declaration : 1        


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39563

Reply via email to