Add d_main_name to set the logical entry point for D programs.
authorIain Buclaw <ibuclaw@gdcproject.org>
Sat, 18 Jan 2014 17:09:43 +0000 (17:09 +0000)
committerIain Buclaw <ibuclaw@gdcproject.org>
Sat, 18 Jan 2014 18:10:32 +0000 (18:10 +0000)
commit6377854769ea85f2dd38aac9a9b11fded61245f3
treea6b415087fe1602e2752652e93fafc36d6729729
parent3271ba660a6a8434b1ec32b88ba456e9287a89ac
Add d_main_name to set the logical entry point for D programs.

gdb/ChangeLog:
2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>

    * d-lang.h (d_main_name): Add declaration.
    * d-lang.c (d_main_name): New function.
    * symtab.c (find_main_name): Add call to d_main_name.
gdb/ChangeLog
gdb/d-lang.c
gdb/d-lang.h
gdb/symtab.c