possible to debug gfortran with gdb?

Tobias Schlüter tobias.schlueter@physik.uni-muenchen.de
Thu Sep 21 13:24:00 GMT 2006


Tim Prince <timothyprince@sbcglobal.net> wrote on Thu, 21 Sep 2006:

> Ed Hartnett wrote:
>
>> Is there a way to use gdb on gfortran programs? It's not working for
>> me, with gfortran 4.0.2 and gdb 6.5.
>>
> There's nothing special about gdb working with gfortran.

I don't think that's true.  I just played around with gdb 6.4 and  
gfortran 4.1 and the combination wasn't really usable.

>  No doubt
> you've noticed the recommendations to avoid any version of gfortran
> before 4.1.

While I don't think this will make much of a difference for debugging,  
in general this is good advice.

- Tobi


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




More information about the Fortran mailing list