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


Pierre>   I thought that in general, using the mangled name
Pierre> would allow to find main even if you do not generate
Pierre> any debug information, as long as you do not remove the
Pierre> assembler symbols from the executable.
Pierre>   This seems like a valid reason to prefer mangled name
Pierre> over demangled, no?

The demangled name ends up in the minimal symbol table as well.
It's convoluted but it ends up in symbol_find_demangled_name, which has
a case for language_d.

Tom


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