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 Thursday 04 January 2007 09:26, abo wrote:
> Hello members,
> I compile f90 source program by g95,but I can't debug it with gdb.
> Is there anyone who had the same experiences?

Yup.

g95 does not write out useful debug information.  So, you can't debug
your program with gdb or with any other symbolic debugger.

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.).

Sorry....

Gr.
Steven


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