[PATCH 15/25] [RFC] GDBserver unit test to i386_tdesc

Yao Qi qiyaoltc@gmail.com
Thu Jun 29 09:27:00 GMT 2017


Pedro Alves <palves@redhat.com> writes:

> On 06/12/2017 09:41 AM, Yao Qi wrote:
>> This patch adds a unit test in GDBserver to test dynamically created
>> target descriptions equal to these pre-generated ones.
>> 
>> gdb/gdbserver:
>
> Are these temporary tests?  What's the plan for the pre-generated ones?

They are not temporary tests, we'll keep the tests, but they won't
change.  We also keep these pre-generated target descriptions, as legacy
target descriptions, for the tests.  Once we finish the target
description transition, we can move these pre-generated target
descriptions into testsuite/ directory.

Note that, after we finish the change for a given architecture, all
target descriptions are dynamically generated, so there is no new
pre-generated target description, and we don't update the tests.

-- 
Yao (齐尧)



More information about the Gdb-patches mailing list