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.


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


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