From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14144 invoked by alias); 21 Nov 2005 07:28:18 -0000 Received: (qmail 14125 invoked by uid 22791); 21 Nov 2005 07:28:17 -0000 X-Spam-Check-By: sourceware.org Received: from zproxy.gmail.com (HELO zproxy.gmail.com) (64.233.162.203) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 21 Nov 2005 07:28:17 +0000 Received: by zproxy.gmail.com with SMTP id x3so725294nzd for ; Sun, 20 Nov 2005 23:28:15 -0800 (PST) Received: by 10.36.80.14 with SMTP id d14mr2768664nzb; Sun, 20 Nov 2005 23:28:15 -0800 (PST) Received: by 10.37.2.35 with HTTP; Sun, 20 Nov 2005 23:28:15 -0800 (PST) Message-ID: <8f2776cb0511202328r51f03b30jdb1ac7d067ecd43c@mail.gmail.com> Date: Mon, 21 Nov 2005 14:58:00 -0000 From: Jim Blandy To: Wu Zhou , gcc-patches@gcc.gnu.org, gdb-patches@sourceware.org, pinskia@gcc.gnu.org Subject: Re: [RFC] Use DW_CC_program to indicate Fortran main subroutine In-Reply-To: <20051121051017.GA12030@nevyn.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20051121051017.GA12030@nevyn.them.org> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2005-11/txt/msg00388.txt.bz2 I don't want to stand in the way of solving the Java and Fortran "find the main program" problems, but when you look at the description of DW_AT_calling_convention, it seems to me like that attribute is more concerned with telling you how to assemble arguments to pass to the function, and not so much with describing the overall structure of the executable. I don't see any other attribute that is more appropriate.