Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* How to use gdb for multiple Fortran source files
@ 2004-01-05 23:51 zhu wang
  2004-01-06  6:09 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: zhu wang @ 2004-01-05 23:51 UTC (permalink / raw)
  To: gdb

Dear helpers,

I am wondering how to use gdb for multiple Fortran source files. There
are 40 files, do I have to combine them into a big one? I bet there
exists a more clever way. Please let me know if it does.

Thanks in advance,

-- 
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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to use gdb for multiple Fortran source files
  2004-01-05 23:51 How to use gdb for multiple Fortran source files zhu wang
@ 2004-01-06  6:09 ` Eli Zaretskii
  2004-01-06 15:30   ` zhu wang
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2004-01-06  6:09 UTC (permalink / raw)
  To: zhu wang; +Cc: gdb

> 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.)


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to use gdb for multiple Fortran source files
  2004-01-06  6:09 ` Eli Zaretskii
@ 2004-01-06 15:30   ` zhu wang
  0 siblings, 0 replies; 3+ messages in thread
From: zhu wang @ 2004-01-06 15:30 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: gdb

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-01-06 15:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-05 23:51 How to use gdb for multiple Fortran source files zhu wang
2004-01-06  6:09 ` Eli Zaretskii
2004-01-06 15:30   ` zhu wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox