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: Wu Zhou <woodzltc at cn dot ibm dot com>
- To: Daniel Jacobowitz <drow at false dot org>
- 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: Thu, 23 Feb 2006 21:34:40 -0500 (EST)
- 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> <20060220172244.GC19356@nevyn.them.org>
On Mon, 20 Feb 2006, Daniel Jacobowitz wrote:
> 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?
Yes. Good point. It is time to do that. But I am not sure how to
re-open the deferred issue with the DWARF group. I just sent out a mail
to ask how. Hopefully someone can reply quickly.
BTW. Anyone have any comments about using DW_AT_GNU_main first in GNU
tools? I still like this idea. We don't need to wait for DWARF group's
decision, which might be long.
Regards
- Wu Zhou