From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22923 invoked by alias); 24 Oct 2007 22:06:55 -0000 Received: (qmail 22869 invoked by uid 22791); 24 Oct 2007 22:06:55 -0000 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 24 Oct 2007 22:06:52 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id E5FE82AB08B; Wed, 24 Oct 2007 18:06:50 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id TTYomhzcWE0d; Wed, 24 Oct 2007 18:06:50 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id ABB592AB088; Wed, 24 Oct 2007 18:06:50 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 8ED40E7AC8; Wed, 24 Oct 2007 15:06:48 -0700 (PDT) Date: Wed, 24 Oct 2007 22:14:00 -0000 From: Joel Brobecker To: Carlos Eduardo Seo Cc: gdb-patches@sourceware.org Subject: Re: Problems while debugging fortran Message-ID: <20071024220648.GL11797@adacore.com> References: <46F2CE45.5020308@linux.vnet.ibm.com> <20070920204622.GB4368@adacore.com> <20070920205629.GA17779@caradoc.them.org> <46FAD136.5030406@linux.vnet.ibm.com> <20070926214619.GC9403@adacore.com> <471F70C0.3000206@linux.vnet.ibm.com> <20071024193336.GI11797@adacore.com> <20071024195719.GA16009@caradoc.them.org> <471FA810.6080506@linux.vnet.ibm.com> <471FBF9E.5000607@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <471FBF9E.5000607@linux.vnet.ibm.com> User-Agent: Mutt/1.4.2.2i Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-10/txt/msg00639.txt.bz2 [moving to gdb-patches] > Actually, I was re-reading this thread and I think we can use Wu > Zhou's patch mentioned before. I've just refreshed it so it applies > cleanly on CVS head and it's working fine with my Fortran binaries. > What do you think? Any modifications suggested? > 2007-10-24 Wu Zhou > Carlos Eduardo Seo > > * dwarf2read.c (read_partial_die): check the value > of DW_AT_calling_convention in Fortran programs. This is close to what I had in mind, but I would personally prefer to limit this to Fortran compilation units. The semantics of this attribute value are still a bit unclear, and I'd like us to be cautious in its usage. -- Joel