From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15452 invoked by alias); 9 Jun 2003 19:34:19 -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 15382 invoked from network); 9 Jun 2003 19:34:17 -0000 Received: from unknown (HELO paranoia.sukrahelitek.com) (12.216.5.59) by sources.redhat.com with SMTP; 9 Jun 2003 19:34:17 -0000 Received: from sukra (unknown [192.182.32.12]) by paranoia.sukrahelitek.com (Postfix on SuSE Linux 7.0 (i386)) with ESMTP id 850702F88D for ; Mon, 9 Jun 2003 14:30:23 -0500 (CDT) Content-Type: text/plain; charset="us-ascii" From: Benjamin P Myers To: gdb@sources.redhat.com Subject: init.c: No such file or directory. Date: Mon, 09 Jun 2003 19:34:00 -0000 User-Agent: KMail/1.4.3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200306091434.16661.dative@sukrahelitek.com> X-SW-Source: 2003-06/txt/msg00111.txt.bz2 I'm using Absoft's ProFortran f77 compiler on SuSE. I was able to use gdb = on=20 SuSE-7.2 prior to my reinstall of SuSE-8.1, but now I get this error: > f77 -g hello.f > gdb ./a.out GNU gdb 5.2.1 This GDB was configured as "i586-suse-linux"... (gdb) list 1 init.c: No such file or directory. in init.c (gdb) According to the docs, Absoft's f77 writes out in 'dwarf' format, so I trie= d a=20 'hello world' with gcc: > gcc -gdwarf hello.c > gdb ./a.out (gdb) list 1 init.c: No such file or directory. in init.c (gdb) So I download and build gdb-5.3: > cp gdb-5.3/gdb/gdb ~/bin > gcc -gdwarf hello.c > ~/bin/gdb ./a.out GNU gdb 5.3 This GDB was configured as "i686-pc-linux-gnu"... (gdb) list 1 init.c: No such file or directory. in init.c (gdb) > gcc --version gcc (GCC) 3.2 > ld -v GNU ld version 2.12.90.0.15 20020717 (SuSE) > ls /lib/ld-*.so /lib/ld-2.2.5.so I have also tried gcc-2.95.3 with the same result. The gdb mailing list=20 archives suggest that gdb can't find the source file and that I do a 'dir .= '=20 in gdb before i 'list', but i got the same error. Anyone have any suggestions? Thanks for your help. -ben