This is the mail archive of the gdb@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]

Re: How to debug fortran program?


On 1/5/07, Robert Dewar <dewar@adacore.com> wrote:
Steven Bosscher wrote:

> Also, even if g95 would write out useful debug information, gdb would
> not have support for most Fortran 9x features (e.g. no support for
> modules, no support for array expressions, etc.).

Not so clear, a lot can be done in dwarf-2, of course being able to
type in Fortran expressions would require extra support.

Most Fortran 90 features require dwarf-3. You can do almost nothing with types for Fortran arrays that need array descriptors. For modules, renaming of imported symbols is also not in dwarf-2 afaik.

But it really doesn't matter if the compiler does not produce this
debug information to begin with.

Gr.
Steven


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