This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/2] Class-ify ptid_t
On 04/06/2017 03:31 PM, Simon Marchi wrote:
> On 2017-04-06 07:12, Pedro Alves wrote:
>> Or leave it in ptid.c, doesn't have to be in a separate file.
>> Putting it in the .c file instead of the .h has the advantage
>> that it doesn't expose type_traits.h to all of gdb, that's all.
>> (Though I'm not sure whether be able to avoid it as we grow more
>> C++ utilities.)
>
> My intention was to put the tests in unittests/ptid-selftests.c, any
> objection to that?
No.
Thanks,
Pedro Alves