How to use gdb for multiple Fortran source files

Eli Zaretskii eliz@elta.co.il
Tue Jan 6 06:09:00 GMT 2004


> From: zhu wang <zhuw@mail.smu.edu>
> Date: 05 Jan 2004 17:49:16 -0600
> 
> I am wondering how to use gdb for multiple Fortran source files.

Just do it: "gdb ./yourprog".  If there are any specific problems
with that, please tell what they are.

> There are 40 files, do I have to combine them into a big one?

No, GDB should figure out all that by itself.  (Typically, the file
name is recorded in the debug info which GDB reads.)



More information about the Gdb mailing list