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] Handle GPC specific name for main function


Thiago Jung Bauermann <bauerman@br.ibm.com> writes:
> On Wed, 2007-09-26 at 22:52 -0700, Joel Brobecker wrote:
>> It looks like we're reaching the same conclusion as before, which is
>> that, unless GPC gets changed to emit a specific symbol to specify
>> that the main is in pascal, the strongest approach is to rely on
>> DWARF data. 
>> 
>> http://www.cygwin.com/ml/gdb-patches/2005-11/msg00380.html
>
> Unfortunately, from the discussion above there is no adequate DWARF tag
> to specify which is the main program. Like Dan Berlin suggested, it is
> necessary to come up with a new one and make the compilers (gpc and
> gfortran) emit those.

The DWARF committee discussed adding a tag to do this, but it got
bogged down in questions about what to do in cases like Java and Ada
and COBOL, and how to phrase the definition to mean the right thing in
all those cases.  If the DWARF web site is up to date, the proposal
got sent back for revision.

http://dwarfstd.org/ShowIssue.php?issue=070619.1&type=open


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