[PATCH/RFA] Do not emit "field_type" var if not needed on "maint print c-tdesc"

Yao Qi qiyaoltc@gmail.com
Thu Dec 21 09:10:00 GMT 2017


Simon Marchi <simon.marchi@ericsson.com> writes:

> A simpler way would be to emit the field lazily when we actually need it, see patch
> below for an example.  There's a bit more collateral damage in the generated files,
> since some declarations change place.  We would need to do the same for the other
> variable declarations.

Yes, your patch in target-descriptions.c is simpler.  The patch is good
to me.

-- 
Yao (齐尧)



More information about the Gdb-patches mailing list