Raffaele Borrelli writes:
> I have a general question regarding fortran:
> How can I use gdb debugger with fortran?
> If I use the option -g during compilation
> gdb can run my programs but
> can't read the source file, and so it is useless.
I'd say that was a pretty specific question. Specific enough that it
would depend on the particular compiler in question, which you don't
mention. Does the compiler you are using even support gdb? You give
no hint as to what compiler or operating system you are talking
about.
--
Richard Maine
[log in to unmask]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|