This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [PATCH] Fortran DW_TAG_module/DW_TAG_imported_{declaration,module} support, improved DW_TAG_common_block support


On Thu, Aug 21, 2008 at 03:14:56PM -0400, Daniel Jacobowitz wrote:
> 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.

Yes, I've considered it, but I think it shouldn't be changed as part of
a Fortran debug patch.

	Jakub


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