[PATCH] Fortran DW_TAG_module/DW_TAG_imported_{declaration,module} support, improved DW_TAG_common_block support

Daniel Jacobowitz dan@codesourcery.com
Thu Aug 21 19:38:00 GMT 2008


On Thu, Aug 21, 2008 at 02:40:42PM +0200, Jakub Jelinek wrote:
> I guess that's caused by the C++-ish compatibility handling of namespaces,
> where all the stuff is put into the DW_TAG_namespace just as
> DW_AT_declaration 1, and then there are subsequent DW_TAG_variable etc.
> in the toplevel which complete the declarations.
> 
> Attached is an updated patch (and interdiff from the last posted patch),
> which leaves this compatibility cruft only to C++ and lets Fortran define
> stuff inside of DW_TAG_module.

Have you considered eliminating the cruft entirely?  I can't be sure,
of course, but I think any modern GDB will cope just fine.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gcc-patches mailing list