From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27107 invoked by alias); 11 Jul 2005 01:24:17 -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 27076 invoked by uid 22791); 11 Jul 2005 01:24:13 -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, 11 Jul 2005 01:24:13 +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 j6B1QjGS046622 for ; Mon, 11 Jul 2005 11:26:47 +1000 Received: from d23av03.au.ibm.com (d23av03.au.ibm.com [9.190.250.244]) by sd0208e0.au.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id j6B1QvsS136404 for ; Mon, 11 Jul 2005 11:26:58 +1000 Received: from d23av03.au.ibm.com (loopback [127.0.0.1]) by d23av03.au.ibm.com (8.12.11/8.13.3) with ESMTP id j6B1O2Gh018056 for ; Mon, 11 Jul 2005 11:24:02 +1000 Received: from [9.181.134.93] ([9.181.134.93]) by d23av03.au.ibm.com (8.12.11/8.12.11) with ESMTP id j6B1O05n018025; Mon, 11 Jul 2005 11:24:01 +1000 Date: Mon, 11 Jul 2005 01:24:00 -0000 From: Wu Zhou To: Daniel Berlin cc: Parker James E Contr AFRL/HEDR , "'gdb@sources.redhat.com'" Subject: RE: gdb and Fortran90 arrays In-Reply-To: <1120933121.7757.28.camel@linux.site> Message-ID: References: <6AC29D5306A1CD4AB6A168570B1176A407B6D752@casino.brooks.af.mil> <1120933121.7757.28.camel@linux.site> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2005-07/txt/msg00093.txt.bz2 On Sat, 9 Jul 2005, Daniel Berlin wrote: > On Fri, 2005-07-08 at 01:02 +0800, Wu Zhou wrote: > > Hi Parker, > > > > I had a fast look at you dwarf output. It doesn't conform to the DWARF > > standard, (which is the most commonly used debugging standard in the Linux > > world.) especially in the debuginfo on the array "guess" and "z". So it > > might better to post your question to g95 mail-list for a solution. > > However I will take some more time to see why GDB didn't think your code > > are written in fortran. Maybe it is related the following text: > > > > <0>: Abbrev Number: 1 (DW_TAG_compile_unit) > > DW_AT_stmt_list : 0 > > DW_AT_high_pc : 0x80494ec > > DW_AT_low_pc : 0x8049440 > > DW_AT_producer : G95 Fortran 95 4.0.0 20050129 (experimental) (g95!) > > > > I need to see how GDB guess the language of the binary. > > It should use DW_AT_language. > > If you look, his binary claims it is ANSI C. Yes. It is DW_AT_language. I didn't look that far. :-) Thanks for pointing this out. To Parker: both your questions are due to g95 itself. You need to contact g95 developer to resolve this. Regards - Wu Zhou