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


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.
-- 
[]'s
Thiago Jung Bauermann
Software Engineer
IBM Linux Technology Center


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