This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PING][PATCH,DWARF,gfortran] Change DWARF-2 output for Fortran COMMON symbols
- From: Geoff Keating <geoffk at geoffk dot org>
- To: George Helffrich <george at geology dot bristol dot ac dot uk>
- Cc: "gcc-patches\ at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, FX Coudert <fxcoudert at gmail dot com>
- Date: Mon, 24 Dec 2007 15:54:40 -0800
- Subject: Re: [PING][PATCH,DWARF,gfortran] Change DWARF-2 output for Fortran COMMON symbols
- References: <cecd26f30e01860c4be2705e9251d81f@gly.bris.ac.uk> <6EB4D36B-302D-4DBD-94A3-AA16981D98E7@geoffk.org> <863419c51ef24f970c664d101b569f5d@gly.bris.ac.uk> <76350931-DFDE-42DF-A3DE-614C6692ECFD@geoffk.org> <a1165603fdbceeecf468b0d7bc5e7473@gly.bris.ac.uk> <0A6E9B74-E090-4196-81F1-AE03CB9989FB@geoffk.org> <e66323295d9e8ba7fa3bb39f2b316b52@gly.bris.ac.uk>
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.