From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21130 invoked by alias); 26 Feb 2004 03:42:51 -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 21123 invoked from network); 26 Feb 2004 03:42:50 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 26 Feb 2004 03:42:50 -0000 Received: from drow by nevyn.them.org with local (Exim 4.30 #1 (Debian)) id 1AwCQE-00087I-Bn; Wed, 25 Feb 2004 22:42:50 -0500 Date: Thu, 26 Feb 2004 03:42:00 -0000 From: Daniel Jacobowitz To: Peter Jay Salzman Cc: gdb@sources.redhat.com Subject: Re: gdb with intel fortran compiler Message-ID: <20040226034250.GA31158@nevyn.them.org> Mail-Followup-To: Peter Jay Salzman , gdb@sources.redhat.com References: <20040225200653.GA13223@pete.localdomain> <20040225202622.GA22393@nevyn.them.org> <20040225203442.GA13856@pete.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040225203442.GA13856@pete.localdomain> User-Agent: Mutt/1.5.1i X-SW-Source: 2004-02/txt/msg00377.txt.bz2 On Wed, Feb 25, 2004 at 12:34:42PM -0800, Peter Jay Salzman wrote: > On Wed 25 Feb 04, 3:26 PM, Daniel Jacobowitz said: > > On Wed, Feb 25, 2004 at 12:06:53PM -0800, Peter Jay Salzman wrote: > > > I can't "list out of the box: > > > > > > p@satan$ gdb a.out > > > (gdb) list > > > 1 ../sysdeps/i386/elf/start.S: No such file or directory. > > > in ../sysdeps/i386/elf/start.S > > Hi Dan, > > > This is typical. It happens for a lot of non-Fortran programs also. > > start.S comes from glibc and is linked into every program. > > Is there a short explanation of what this is and why it shows up? What it is: startup code. It calls glibc initialization functions, that's all. Why it shows up: I don't know, but almost certainly it is because GDB does not understand where the main function of your Fortran program is. We have some support for this that worked, as I said, for g77. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer