This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC-3] Handle GPC specific name for main function
> To avoid false positives on the second version mainly,
> it is better.
Right, that makes sense indeed. For some reason, I thought that
the second symbol name was "MAIN__", not "pascal_main_program".
I was confused. I still agree with Daniel that the current patch
is quite reasonable.
If "pascal_main_program" ends up being a problem in practic, we have
the option of stop supporting GPC version older than 20070217, when
it was replaced by '_p__M0_main_program' (more than 2 years ago,
now).
--
Joel