This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] [D] Add support for printing D types.
- From: Pedro Alves <palves at redhat dot com>
- To: Iain Buclaw <ibuclaw at gdcproject dot org>, GDB Patches <gdb-patches at sourceware dot org>
- Date: Wed, 17 Feb 2016 16:12:17 +0000
- Subject: Re: [PATCH] [D] Add support for printing D types.
- Authentication-results: sourceware.org; auth=none
- References: <CABOHX+ddgQfb-0w5cY8Nrt8vvFM1nnTnn1yGJWiWz5sAtnv5zQ at mail dot gmail dot com>
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