This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/37132] New: Debug: No DW_TAG_namelist emitted for NAMELISTS
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Aug 2008 19:36:46 -0000
- Subject: [Bug debug/37132] New: Debug: No DW_TAG_namelist emitted for NAMELISTS
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
http://dwarfstd.org/Dwarf3.pdf
"4.3 Namelist Entries"
"A namelist is represented by a debugging information entry with the tag
DW_TAG_namelist. If the namelist itself has a name, the namelist entry has a
DW_AT_name attribute, whose value is a null-terminated string containing the
namelist?s name as it appears in the source program.
"Each name that is part of the namelist is represented by a debugging
information entry with the tag DW_TAG_namelist_item. Each such entry is a child
of the namelist entry, and all of the namelist item entries for a given
namelist are ordered as were the list of names they correspond to in the source
program.
"Each namelist item entry contains a DW_AT_namelist_item attribute whose value
is a reference to the debugging information entry representing the declaration
of the item whose name appears in the namelist."
Example:
integer :: aa,bb
namelist /nml/aa,bb
bb=2
end
gfortran -g test.f90
readelf -wi a.out -> no DW_TAG_namelist
--
Summary: Debug: No DW_TAG_namelist emitted for NAMELISTS
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: burnus at gcc dot gnu dot org
OtherBugsDependingO 24546
nThis:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37132