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: [PATCH] Add d_main_name to dlang.c


On 19 November 2013 15:52, Tom Tromey <tromey@redhat.com> wrote:
>>>>>> "Iain" == Iain Buclaw <ibuclaw@gdcproject.org> writes:
>
> Iain> +2013-11-18  Iain Buclaw  <ibuclaw@gdcproject.org>
> Iain> +
> Iain> + * d-lang.h (d_main_name): Add declaration.
> Iain> + * d-lang.c (d_main_name): New function.
> Iain> + * symtab.c (find_main_name): Add call to d_main_name.
>
> Looks good to me.
>
> Do you have a copyright assignment on file?
> If not, contact me off-list and I'll get you started.
>
> Tom

By the way, it is more preferable to use the mangled name of the D
main function (_Dmain), or the pretty debug de-mangled name?  Both
work just as well in achieving the job.


Regards
Iain


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