public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/49475] New: [OOP] Add DWARF info for Fortran's OOP features (extension, member functions)
@ 2011-06-20 16:30 burnus at gcc dot gnu.org
2011-07-07 13:34 ` [Bug fortran/49475] [OOP][debugging] " burnus at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: burnus at gcc dot gnu.org @ 2011-06-20 16:30 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49475
Summary: [OOP] Add DWARF info for Fortran's OOP features
(extension, member functions)
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: burnus@gcc.gnu.org
We should consider generating DWARF information for Fortran OOP features:
type t
integer :: a
end type t
type, EXTENDS(t) :: t2
integer :: b
contains
procedure :: member_proc => local_proc
end type t2
type (t2) :: x
In this example, x%a and x%t2%a access the component of the parent type.
"member_proc" is a member function, which can be accessed as x%member_proc();
the actual function being called depends on the dynamic type and is determined
via the vtable.
DWARF4 does not really state what should be used in case of Fortran. At
http://www.dwarfstd.org/doc/DWARF4.pdf one finds:
- "5.5.3 Derived or Extended Structs, Classes and Interfaces"
- "5.5.7 Member Function Entries"
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/49475] [OOP][debugging] Add DWARF info for Fortran's OOP features (extension, member functions)
2011-06-20 16:30 [Bug fortran/49475] New: [OOP] Add DWARF info for Fortran's OOP features (extension, member functions) burnus at gcc dot gnu.org
@ 2011-07-07 13:34 ` burnus at gcc dot gnu.org
2015-10-29 13:46 ` dominiq at lps dot ens.fr
2023-03-07 14:20 ` tromey at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: burnus at gcc dot gnu.org @ 2011-07-07 13:34 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49475
--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-07-07 13:33:18 UTC ---
See thread starting at http://gcc.gnu.org/ml/gcc/2011-06/threads.html#00342
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/49475] [OOP][debugging] Add DWARF info for Fortran's OOP features (extension, member functions)
2011-06-20 16:30 [Bug fortran/49475] New: [OOP] Add DWARF info for Fortran's OOP features (extension, member functions) burnus at gcc dot gnu.org
2011-07-07 13:34 ` [Bug fortran/49475] [OOP][debugging] " burnus at gcc dot gnu.org
@ 2015-10-29 13:46 ` dominiq at lps dot ens.fr
2023-03-07 14:20 ` tromey at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-10-29 13:46 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49475
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2015-10-29
Blocks| |24546
Ever confirmed|0 |1
--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Any progress?
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24546
[Bug 24546] [meta-bug] gfortran debugging problems
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/49475] [OOP][debugging] Add DWARF info for Fortran's OOP features (extension, member functions)
2011-06-20 16:30 [Bug fortran/49475] New: [OOP] Add DWARF info for Fortran's OOP features (extension, member functions) burnus at gcc dot gnu.org
2011-07-07 13:34 ` [Bug fortran/49475] [OOP][debugging] " burnus at gcc dot gnu.org
2015-10-29 13:46 ` dominiq at lps dot ens.fr
@ 2023-03-07 14:20 ` tromey at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: tromey at gcc dot gnu.org @ 2023-03-07 14:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49475
--- Comment #4 from Tom Tromey <tromey at gcc dot gnu.org> ---
Note that ifort implemented this and gdb supports that now.
See https://sourceware.org/bugzilla/show_bug.cgi?id=22497
for some info.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-03-07 14:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-20 16:30 [Bug fortran/49475] New: [OOP] Add DWARF info for Fortran's OOP features (extension, member functions) burnus at gcc dot gnu.org
2011-07-07 13:34 ` [Bug fortran/49475] [OOP][debugging] " burnus at gcc dot gnu.org
2015-10-29 13:46 ` dominiq at lps dot ens.fr
2023-03-07 14:20 ` tromey at gcc dot gnu.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).