public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
* [Bug fortran/15353] New: ptype/whatis doesn't handle DW_TAG_namelist @ 2013-04-09 22:20 burnus at gmx dot de 2013-12-05 0:55 ` [Bug fortran/15353] " burnus at gmx dot de 2022-02-25 17:01 ` tromey at sourceware dot org 0 siblings, 2 replies; 3+ messages in thread From: burnus at gmx dot de @ 2013-04-09 22:20 UTC (permalink / raw) To: gdb-prs 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. ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug fortran/15353] ptype/whatis doesn't handle DW_TAG_namelist 2013-04-09 22:20 [Bug fortran/15353] New: ptype/whatis doesn't handle DW_TAG_namelist burnus at gmx dot de @ 2013-12-05 0:55 ` burnus at gmx dot de 2022-02-25 17:01 ` tromey at sourceware dot org 1 sibling, 0 replies; 3+ messages in thread From: burnus at gmx dot de @ 2013-12-05 0:55 UTC (permalink / raw) To: gdb-prs 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. ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug fortran/15353] ptype/whatis doesn't handle DW_TAG_namelist 2013-04-09 22:20 [Bug fortran/15353] New: ptype/whatis doesn't handle DW_TAG_namelist burnus at gmx dot de 2013-12-05 0:55 ` [Bug fortran/15353] " burnus at gmx dot de @ 2022-02-25 17:01 ` tromey at sourceware dot org 1 sibling, 0 replies; 3+ messages in thread From: tromey at sourceware dot org @ 2022-02-25 17:01 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=15353 Tom Tromey <tromey at sourceware dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Target Milestone|--- |12.1 Resolution|--- |FIXED CC| |tromey at sourceware dot org --- Comment #2 from Tom Tromey <tromey at sourceware dot org> --- I believe this was fixed by commit e951225303b7d0565c985e2d562d3787983ff06f Author: Bhuvanendra Kumar N <Bhuvanendra.KumarN@amd.com> Date: Wed Feb 2 17:52:27 2022 +0000 gdb/fortran: support ptype and print commands for namelist variables -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-02-25 17:01 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2013-04-09 22:20 [Bug fortran/15353] New: ptype/whatis doesn't handle DW_TAG_namelist burnus at gmx dot de 2013-12-05 0:55 ` [Bug fortran/15353] " burnus at gmx dot de 2022-02-25 17:01 ` tromey at sourceware dot org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).