This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug fortran/15353] ptype/whatis doesn't handle DW_TAG_namelist
- From: "burnus at gmx dot de" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 05 Dec 2013 00:55:48 +0000
- Subject: [Bug fortran/15353] ptype/whatis doesn't handle DW_TAG_namelist
- Auto-submitted: auto-generated
- References: <bug-15353-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=15353
--- Comment #1 from Tobias Burnus <burnus at gmx dot de> ---
GCC 4.9 now supports DW_TAG_namelist. A special case is:
module mm
integer :: aa, bb
namelist /nml/ aa, bb
end module mm
subroutine test()
use mm, only: nml
write(*,nml)
end subroutine test
for which GCC/gfortran - at least when compiled in two files - generates a
DW_TAG_imported_declaration with DW_TAG_namelist and *no* DW_TAG_namelist_item
(but: DW_AT_declaration = 1). In that case, gdb has to find the
DW_TAG_namelist_item from the module.
--
You are receiving this mail because:
You are on the CC list for the bug.