From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26219 invoked by alias); 5 Jan 2007 05:10:10 -0000 Received: (qmail 26210 invoked by uid 22791); 5 Jan 2007 05:10:09 -0000 X-Spam-Check-By: sourceware.org Received: from nf-out-0910.google.com (HELO nf-out-0910.google.com) (64.233.182.185) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 05 Jan 2007 05:10:05 +0000 Received: by nf-out-0910.google.com with SMTP id k27so2077219nfc for ; Thu, 04 Jan 2007 21:10:02 -0800 (PST) Received: by 10.82.135.13 with SMTP id i13mr1727994bud.1167973802353; Thu, 04 Jan 2007 21:10:02 -0800 (PST) Received: by 10.82.114.9 with HTTP; Thu, 4 Jan 2007 21:10:02 -0800 (PST) Message-ID: <571f6b510701042110i47cf7b84uee3f26f86a583dca@mail.gmail.com> Date: Fri, 05 Jan 2007 05:10:00 -0000 From: "Steven Bosscher" To: "Robert Dewar" Subject: Re: How to debug fortran program? Cc: gdb@sourceware.org, abo In-Reply-To: <459D8A82.6050807@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <459CBA43.10503@163.com> <200701042305.06320.steven.bosscher@gmail.com> <459D8A82.6050807@adacore.com> Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-01/txt/msg00093.txt.bz2 On 1/5/07, Robert Dewar wrote: > Steven Bosscher wrote: > > > Also, even if g95 would write out useful debug information, gdb would > > not have support for most Fortran 9x features (e.g. no support for > > modules, no support for array expressions, etc.). > > Not so clear, a lot can be done in dwarf-2, of course being able to > type in Fortran expressions would require extra support. Most Fortran 90 features require dwarf-3. You can do almost nothing with types for Fortran arrays that need array descriptors. For modules, renaming of imported symbols is also not in dwarf-2 afaik. But it really doesn't matter if the compiler does not produce this debug information to begin with. Gr. Steven