From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31495 invoked by alias); 4 Jan 2007 22:02:57 -0000 Received: (qmail 31486 invoked by uid 22791); 4 Jan 2007 22:02:56 -0000 X-Spam-Check-By: sourceware.org Received: from ug-out-1314.google.com (HELO ug-out-1314.google.com) (66.249.92.174) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 04 Jan 2007 22:02:50 +0000 Received: by ug-out-1314.google.com with SMTP id 75so7004630ugb for ; Thu, 04 Jan 2007 14:02:48 -0800 (PST) Received: by 10.67.20.3 with SMTP id x3mr17275273ugi.1167948167861; Thu, 04 Jan 2007 14:02:47 -0800 (PST) Received: from ?192.168.1.100? ( [84.107.151.148]) by mx.google.com with ESMTP id c1sm17355110ugf.2007.01.04.14.02.47; Thu, 04 Jan 2007 14:02:47 -0800 (PST) To: gdb@sourceware.org Subject: Re: How to debug fortran program? Date: Thu, 04 Jan 2007 22:02:00 -0000 User-Agent: KMail/1.8.2 Cc: abo References: <459CBA43.10503@163.com> In-Reply-To: <459CBA43.10503@163.com> MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200701042305.06320.steven.bosscher@gmail.com> From: Steven Bosscher 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/msg00071.txt.bz2 On Thursday 04 January 2007 09:26, abo wrote: > Hello members, > I compile f90 source program by g95,but I can't debug it with gdb. > Is there anyone who had the same experiences? Yup. g95 does not write out useful debug information. So, you can't debug your program with gdb or with any other symbolic debugger. 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.). Sorry.... Gr. Steven