From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20581 invoked by alias); 24 Sep 2007 20:29:39 -0000 Received: (qmail 20572 invoked by uid 22791); 24 Sep 2007 20:29:39 -0000 X-Spam-Check-By: sourceware.org Received: from igw2.br.ibm.com (HELO igw2.br.ibm.com) (32.104.18.25) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 24 Sep 2007 20:29:34 +0000 Received: from mailhub3.br.ibm.com (mailhub3 [9.18.232.110]) by igw2.br.ibm.com (Postfix) with ESMTP id 7F26E17F41B for ; Mon, 24 Sep 2007 17:27:14 -0300 (BRT) Received: from d24av01.br.ibm.com (d24av01.br.ibm.com [9.18.232.46]) by mailhub3.br.ibm.com (8.13.8/8.13.8/NCO v8.5) with ESMTP id l8OKTM3R2027614 for ; Mon, 24 Sep 2007 17:29:26 -0300 Received: from d24av01.br.ibm.com (loopback [127.0.0.1]) by d24av01.br.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id l8OKTHnD027736 for ; Mon, 24 Sep 2007 17:29:20 -0300 Received: from [9.18.238.59] (dyn531792.br.ibm.com [9.18.238.59]) by d24av01.br.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id l8OKT5d9027302; Mon, 24 Sep 2007 17:29:08 -0300 Message-ID: <46F81E0C.7030709@linux.vnet.ibm.com> Date: Mon, 24 Sep 2007 23:49:00 -0000 From: Carlos Eduardo Seo User-Agent: Thunderbird 2.0.0.6 (X11/20070907) MIME-Version: 1.0 To: Joel Brobecker CC: gdb@sourceware.org Subject: Re: Problems while debugging fortran References: <46EB035B.4090802@linux.vnet.ibm.com> <20070920173246.GJ16400@adacore.com> <46F2CE45.5020308@linux.vnet.ibm.com> <20070920204622.GB4368@adacore.com> <46F5D13D.2070303@linux.vnet.ibm.com> <20070923025033.GA20073@adacore.com> In-Reply-To: <20070923025033.GA20073@adacore.com> OpenPGP: id=8BFFA900 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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-09/txt/msg00193.txt.bz2 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Joel Brobecker wrote: > > I think Daniel was right on the spot. You are trying to use the > "current source file" concept right at the start of your session > assuming that it is automatically set to the source file where > you main is defined. Is that correct? Yes. And the problem is that the current file is set as "init.c". > > Unfortunately, I think this feature only works well for Ada and C > as far as I can tell from the code. Does the patch that Daniel posted > earlier help in your case? No, unfortunately it doesn't. > We can certainly work on modifying GDB to be > better at finding the name of the main procedure in a Fortran program > (just like we do with Ada programs). Any ideas where can we start? Thanks and regards, - -- Carlos Eduardo Seo Software Engineer IBM Linux Technology Center -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG+B4Lqvq7Aov/qQARAg8xAJ9NJbMZhZynj2sHhO55mkW+cycrbACggA4q zN8lJUn/Utp/6RhzcLrtt6U= =n7sA -----END PGP SIGNATURE-----