This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Use DW_CC_program to indicate Fortran main subroutine
- From: Daniel Jacobowitz <drow at false dot org>
- To: Wu Zhou <woodzltc at cn dot ibm dot com>
- Cc: Jason Merrill <jason at redhat dot com>, gcc-patches at gcc dot gnu dot org, gdb-patches at sourceware dot org, pinskia at gcc dot gnu dot org, dberlin at dberlin dot org, jimb at red-bean dot com
- Date: Mon, 20 Feb 2006 12:22:44 -0500
- Subject: Re: [RFC] Use DW_CC_program to indicate Fortran main subroutine
- References: <Pine.LNX.4.63.0511211220260.28728@linux.site> <20051121051017.GA12030@nevyn.them.org> <4381F707.5080703@redhat.com> <20051121163733.GA23783@nevyn.them.org> <Pine.LNX.4.63.0511221011390.31199@linux.site>
On Tue, Nov 22, 2005 at 10:34:01AM +0800, Wu Zhou wrote:
> Hi,
>
> Thank you all for your kind input. I had a look at all your comments. It
> seems that no one is 100% convinced that DW_CC_program is the proper
> solution. In fact I am also a little odd about the usage of DW_CC_program
> to indicate the main function. But the text in DWARF 3.3.1 really induce
> me to think that it is currently the only feasible solution.
>
> Now that most of you concur to make up a new attribute or tag for this. I
> think it is more correct too. Maybe it is time for us to discuss the
> detail of this new tag or attribute?
>
> My vote is to use a new attribute Dan Berlin proposed: DW_AT_GNU_main. We
> can use it in GNU toolchain first, gcc, gdb, binutils and so on. If the
> DWARF committee can reach agreement on the final name, we can switch to
> it then. What is your point on this? Thanks.
Since we had this conversation DWARF-3 was published; did you want to
reopen this with the DWARF working group?
--
Daniel Jacobowitz
CodeSourcery