[RFC] Use DW_CC_program to indicate Fortran main subroutine
Daniel Jacobowitz
drow@false.org
Mon Feb 20 17:22:00 GMT 2006
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
More information about the Gdb-patches
mailing list