This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Use DW_CC_program to indicate Fortran main subroutine


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]