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>
- Cc: GDB Patches <gdb-patches at sourceware dot org>
- Date: Thu, 18 Feb 2016 22:48:27 +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> <56C49BE1 dot 2020204 at redhat dot com> <CABOHX+dd6rhZW4QfrdutfGySaeWuTVQmsMRSEAY4m1XUotPM_Q at mail dot gmail dot com>
On 02/18/2016 09:10 PM, Iain Buclaw wrote:
>>> gdb/testsuite/ChangeLog:
>>>
>>> * typeprint.S: New file.
>>> * typeprint.exp: New file.
>>
>> But these can be written in D now, right?
>>
>
> I guess so, would this be the preferred method for tests that use simple code?
Right. We prefer writing tests in their natural language, unless the
test is exercising some dwarf-specific issue where we truly need to
capture a stable dwarf snapshot. And even then, we prefer using the
testsuite's dwarf assembler, in order to make the test arch-independent
(grep for "Dwarf" in testsuite/gdb.dwarf2).
> I will redo this patch anyway, I noticed it's an old version with a
> FIXME that I forgot to remove.
Thanks,
Pedro Alves