Re: [PATCH 3/6] : Update dat files with arch and osabi

Yao Qi
2018-01-19T22:01:13Z

On Tue, Jan 16, 2018 at 9:52 AM, Alan Hayward <Alan.Hayward@arm.com> wrote:
> This patch simply ensures the osabi and arch fields exist in the dat
> files. Otherwise, they will be missing in later patches when gdbserver
> converts target descriptions to xml.

I don't think we need to change *.dat. *.dat are used to generate *.c files
in gdbserver build directory for the following two reasons,

- the port isn't converted to new style flexible target descriptions yet,
- or the generated *.c files are used for test,

The goal of this series, IMO, is to get rid of the xml features for the ports
which already use new style flexible target descriptions, like x86
and aarch64.

For the old style target description, they still use xml files for each
description, and osabi/arch is written in these xml files.

--
Yao (齐尧)