From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28348 invoked by alias); 6 Jan 2004 15:30:53 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 28341 invoked from network); 6 Jan 2004 15:30:52 -0000 Received: from unknown (HELO s31xu4.systems.smu.edu) (129.119.70.133) by sources.redhat.com with SMTP; 6 Jan 2004 15:30:52 -0000 Received: from zwang.stat.smu.edu ([129.119.227.69]) by s31xu4.systems.smu.edu with Microsoft SMTPSVC(5.0.2195.6713); Tue, 6 Jan 2004 09:30:51 -0600 Subject: Re: How to use gdb for multiple Fortran source files From: zhu wang To: Eli Zaretskii Cc: gdb@sources.redhat.com In-Reply-To: References: <1073346555.1968.99.camel@zwang.stat.smu.edu> Content-Type: text/plain Message-Id: <1073402924.1869.5.camel@zwang.stat.smu.edu> Mime-Version: 1.0 Date: Tue, 06 Jan 2004 15:30:00 -0000 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 06 Jan 2004 15:30:51.0380 (UTC) FILETIME=[11070340:01C3D46A] X-SW-Source: 2004-01/txt/msg00053.txt.bz2 Thanks. That simple answer solves my puzzle. Zhu On Tue, 2004-01-06 at 00:08, Eli Zaretskii wrote: > > From: zhu wang > > 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