------- Comment #3 from burnus at gcc dot gnu dot org 2009-05-06 16:40 ------- (In reply to comment #2) > The GDB patch now assembles the symbol name from its parent DW_TAG_module as > `__modulename_MOD_varname'. As GDB also has to know the C++ mangling rules I > believe this Fortran mangling is can be also used from GDB.
Note: The Fortran mangling is highly compiler dependent. Intel's ifort uses "modulename_mp_varname_", sunf95 uses "modulename.varname_", and g95 and NAG f95 use "modulename_MP_varname" (however, the latter two don't create DW_TAG_module - g95 is based on gcc 4.0.x and NAG f95 uses the system's C compiler). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40040