This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/15353] ptype/whatis doesn't handle DW_TAG_namelist


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]