This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: How to use gdb for multiple Fortran source files
Thanks. That simple answer solves my puzzle.
Zhu
On Tue, 2004-01-06 at 00:08, Eli Zaretskii wrote:
> > 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.)
--
Zhu Wang
Statistical Science Department
Southern Methodist University
Dallas, TX 75275-0332
Phone: (214)768-2453
Fax: (214)768-4035
Email: zhuw@mail.smu.edu