From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27944 invoked by alias); 9 Jun 2003 20:17:48 -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 27880 invoked from network); 9 Jun 2003 20:17:47 -0000 Received: from unknown (HELO crack.them.org) (146.82.138.56) by sources.redhat.com with SMTP; 9 Jun 2003 20:17:47 -0000 Received: from dsl093-172-017.pit1.dsl.speakeasy.net ([66.93.172.17] helo=nevyn.them.org ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 19PT66-0000lJ-00; Mon, 09 Jun 2003 15:18:30 -0500 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 19PT5K-0002pp-00; Mon, 09 Jun 2003 16:17:42 -0400 Date: Mon, 09 Jun 2003 20:17:00 -0000 From: Daniel Jacobowitz To: Benjamin P Myers Cc: gdb@sources.redhat.com Subject: Re: init.c: No such file or directory. Message-ID: <20030609201741.GA10848@nevyn.them.org> Mail-Followup-To: Benjamin P Myers , gdb@sources.redhat.com References: <200306091434.16661.dative@sukrahelitek.com> <20030609194144.GA10114@nevyn.them.org> <200306091508.59192.dative@sukrahelitek.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200306091508.59192.dative@sukrahelitek.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-06/txt/msg00114.txt.bz2 On Mon, Jun 09, 2003 at 03:08:59PM -0500, Benjamin P Myers wrote: > On Monday 09 June 2003 14:41, Daniel Jacobowitz wrote: > > Is it a problem? Can you list your program's entry point and set > > breakpoints? > > > > That suggests that the init.c is coming from gcc/glibc, and has debug > > information. It's not associated with your application. > > It is a problem more for the other people I work with than I, because they > debug quite a bit more fortran code (and like to use ddd, which this seems to > break). > > I think this is what you mean, right? > > > gcc -gdwarf hello.c > > ~/bin/gdb ./a.out > GNU gdb 5.3 > > (gdb) list hello.c:main > No source file named hello.c. > (gdb) break hello.c:6 > No source file named hello.c. > (gdb) Then I don't know what's wrong. MUST you use DWARF? Is DWARF-2 an option? I seem to be saying this a lot lately. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer