From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18040 invoked by alias); 8 Aug 2005 02:25:57 -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 17967 invoked by uid 22791); 8 Aug 2005 02:25:53 -0000 Received: from ausmtp01.au.ibm.com (HELO ausmtp01.au.ibm.com) (202.81.18.186) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 08 Aug 2005 02:25:53 +0000 Received: from sd0208e0.au.ibm.com (d23rh904.au.ibm.com [202.81.18.202]) by ausmtp01.au.ibm.com (8.12.10/8.12.10) with ESMTP id j782SFa1169072; Mon, 8 Aug 2005 12:28:20 +1000 Received: from d23av02.au.ibm.com (d23av02.au.ibm.com [9.190.250.243]) by sd0208e0.au.ibm.com (8.12.10/NCO/VERS6.7) with ESMTP id j782SROE179060; Mon, 8 Aug 2005 12:28:28 +1000 Received: from d23av02.au.ibm.com (loopback [127.0.0.1]) by d23av02.au.ibm.com (8.12.11/8.13.3) with ESMTP id j782PUqm012280; Mon, 8 Aug 2005 12:25:31 +1000 Received: from linux.cn.ibm.com (linux.cn.ibm.com [9.181.134.130]) by d23av02.au.ibm.com (8.12.11/8.12.11) with ESMTP id j782PSVP012230; Mon, 8 Aug 2005 12:25:29 +1000 Date: Mon, 08 Aug 2005 02:25:00 -0000 From: Wu Zhou X-X-Sender: woodzltc@linux.site To: dinght@iopp.ccnu.edu.cn cc: bug-gdb@sources.redhat.com, gdb@sources.redhat.com, fortran@gcc.gnu.org Subject: Re: Dose GDB support Fortran Cods? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2005-08/txt/msg00034.txt.bz2 > command line,I use "gdb test",then I enter "list",but screen displays: > > 1 ../sysdeps/i386/elf/start.S: No such file or directory. > in ../sysdeps/i386/elf/start.S This is a bug in GDB, we ever discussed a similar problem in: http://sources.redhat.com/ml/gdb/2005-07/msg00228.html. BTW: there will be more chance you gdb/fortran problems get answered if you ask in gdb@sources.redhat.com or fortran@gcc.gnu.org. It seems that few people read bug-gdb@. :-) > GDB in my computer was configured as "i386-redhat-linux-gnu",it > is GNU gdb Red Hat Linux (5.3post-0.20021129.18rh). > > In the manual page it is said GDB does support Fortran code,but I > don't know why it doesn't work here. Yes. GDB does support Fortran. You can simply ignore the above problem, and go on with the debugging of your program. For example, you can set breakpoints at MAIN__, or any other function or lines, you can start the process by "run" command, and so on... Regards - Wu Zhou