I've been wondering for a long time why gdb doesn't have reasonable
support for F90. Indeed, there are a variety of compilers/vendors to
support, but from a modularity viewpoint there are three pieces within
the debugger:
-- Internal representation of F90 concepts. This is driven by the
language, not by any particular compiler/vendor.
-- Parsing/Presentation between the internal representation and the
user. Again, this is driven by the language, not by any
particular compiler/vendor.
-- Digesting debug symbol info. This is the compiler/vendor specific
part, but I'll claim it is relatively easy compared to the
previous two. In some cases (e.g. ELF/DWARF on Linux) it is
specified by the debug symbol table format, and it is the
compiler/vendor's responsibility to conform.
Does each vendor supply their own debugger, or does the Fortran
community generally not use debuggers (resorting to print statements)?
Or is it a matter of organization; not collectively siphoning off
several little funds for a couple independent contractors to do the
work in gdb?
It just seems strange, and I'm wondering what the Fortran community's
perspective on this is.
Thanks,
David LaFrance-Linden
[log in to unmask]
|