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: [PING][PATCH,DWARF,gfortran] Change DWARF-2 output for Fortran COMMON symbols


George Helffrich <george@geology.bristol.ac.uk> writes:

> The patch only changes gfortran's debug information under DWARF to use
> DW_TAG_common_block to describe identifiers located in Fortran common.
> The implementation follows DWARF-2 documentation of this facility.  No
> part of the code is specifically a workaround.  If there are any
> objectionable parts, I will explain and/or change as required.

The parts I'm concerned about are those associated with the comment

> Format of entry is rather tricky in order to be
> acceptable to gdb's relocation mechanism for COMMON-based symbols. 

including most of the routines common_check and all of dw_expand_expr.


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