This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug fortran/15353] New: 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: Tue, 09 Apr 2013 22:20:50 +0000
- Subject: [Bug fortran/15353] New: ptype/whatis doesn't handle DW_TAG_namelist
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=15353
Bug #: 15353
Summary: ptype/whatis doesn't handle DW_TAG_namelist
Product: gdb
Version: 7.5
Status: NEW
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned@sourceware.org
ReportedBy: burnus@gmx.de
CC: jan.kratochvil@redhat.com, sanimir.agovic@intel.com
Classification: Unclassified
Vaguely related to bug 15209.
Example:
integer :: aa,bb
namelist /nml/ aa
aa = 5
end
generates
<2><1a9>: Abbrev Number: 3 (DW_TAG_namelist)
<1aa> DW_AT_name : nml
<1ae> DW_AT_sibling : <0x1b8>
<3><1b2>: Abbrev Number: 4 (DW_TAG_namelist_item)
<1b3> DW_AT_namelist_items: <0x1b8>
<2><1b8>: Abbrev Number: 5 (DW_TAG_variable)
<1b9> DW_AT_name : aa
I would expect that gdb prints something like
type = namelist /nml/ aa
Currently, it does not recognize "nml".
DW_TAG_namelist is part of DWARF2.
See also:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37132
http://gcc.gnu.org/ml/gcc-patches/2013-04/msg00560.html
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.