[Ltrace-devel] DWARF test suite

Dima Kogan lists at dima.secretsauce.net
Thu Aug 21 19:56:31 UTC 2014


Petr Machata <pmachata at redhat.com> writes:

> Dima Kogan <lists at dima.secretsauce.net> writes:
>
>> If I removed the gnu++11 part from the ltrace.exp patch, and put
>> that into dwarf.exp somehow, then we're good?
>
> Yes.
>
> In the new-style tests (e.g. parameters2.exp), we use file ending to
> determine what's inside the file.  Would it make sense to have a cc
> ending for C++98, c11 for C++11, etc.?

Hi. I just uploaded a patch that does the filename-language-choice as
you suggested:

.c11      is C 11
.cc11     is C++ 11
.cc, .cpp is C++ (whatever gcc has as the default)

This choice is still in ltrace.exp. The DWARF-specific piece simply
renames its .cc -> .cc11

dima



More information about the Ltrace-devel mailing list