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 3/5] Add d_main_name to dlang.c


On 18 January 2014 17:09, Iain Buclaw <ibuclaw@gdcproject.org> wrote:
> On 9 January 2014 18:18, Tom Tromey <tromey@redhat.com> wrote:
>>>>>>> "Iain" == Iain Buclaw <ibuclaw@gdcproject.org> writes:
>>
>> Iain> The main program in D is _Dmain (demangled as 'D main') not C 'main'.
>> Iain> So the logical entry point of the program should be set accordingly.
>>
>> Iain> 2014-01-09  Iain Buclaw  <ibuclaw@gdcproject.org>
>>
>> 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.
>>
>> This is ok.
>>
>
>
> FYI, this has been amended slightly for the recent change to set_main_name.

And committed.

Regards
Iain


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