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] [D] Add support for printing D types.


Hi Iain,

On 01/30/2016 04:29 PM, Iain Buclaw wrote:

> gdb/ChangeLog:
> 

> 	* d-lang.c (d_language_defn): Change c_print_type to d_print_type.
> 	* d-lang.h (d_print_type): New declaration.
> 	* d-typeprint.c: New file.
>

These bits you can clearly self approve.


> 	* Makefile.in (SFILES): Add d-typeprint.c
> 	(COMMON_OBJS): Add d-typeprint.o
> 	* dwarf2read.c (read_structure_type): Set TYPE_DECLARED_CLASS also for
> 	classes in D language.

FAOD, these bits are OK.


> gdb/testsuite/ChangeLog:
> 
> 	* typeprint.S: New file.
> 	* typeprint.exp: New file.

But these can be written in D now, right?

Thanks,
Pedro Alves


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