This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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: debugger suggestions


Kamaraju S Kusumanchi wrote:
    Can anyone suggest a good debugger for fortran 90 programs compiled with
gfortran. Most of the commercial compilers come with good debuggers but
gfortran does not. gdb's support for fortran 90 is not as great as
commercial compilers (see for ex:-
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=428761 ). So what do guys
suggest for debugging large fortran 90 programs compiled with gfortran?

I believe that gdb is the best available option, at present, despite the problems. We would of course very much welcome patches to improve its support for Fortran programs!


Also, I suspect (but this is just a guess) that a lot of the problems such as the one in that bug report are at least in part on gfortran's side of things, rather than gdb's side. It's not immediately clear what version of gfortran you're using, but if you're filing the bug against Debian it's probably an older 4.1 version, and lots of bugs have been fixed since then. I don't recall if this is one of them, but it may be worth trying a current 4.3 snapshot to see if the problem persists.

- Brooks


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