Simplify i386, amd64 and x32 expedite registers
authorYao Qi <yao.qi@linaro.org>
Wed, 5 Oct 2016 08:31:13 +0000 (09:31 +0100)
committerYao Qi <yao.qi@linaro.org>
Wed, 5 Oct 2016 08:31:13 +0000 (09:31 +0100)
commit414c838a722efedb0f787b64629db13d88c9ef7c
tree9eb7211cb04367f6ec39281eaf01675f51fafeed
parent0a69eedb6d7c1c90ec7888a857c4d7c0a1fd1b31
Simplify i386, amd64 and x32 expedite registers

Nowadays, there are a lot of duplication about
i386/{i386, amd64, x32}*-expedite in features/Makefile.  However,
in features/Makefile, we have

 echo "expedite:$(if $($*-expedite),$($*-expedite),$($(firstword $(subst -, ,$(notdir $*)))-expedite))" \
  >> $(outdir)/$*.tmp

which means for a given bar/foo-baz.xml, we'll look for either
bar/foo-baz-expedite or foo-expedite.  In x86 expedite registers, we
use the former now, but it will be much simpler if we use the latter.
This is what this patch does.  This patch removes them, and defines
three generic expedite.  Re-run 'make GDB=/path/build/gdb all' to
regenerate regformats/*.dat files, and they are not changed.

gdb:

2016-10-05  Yao Qi  <yao.qi@linaro.org>

* features/Makefile: Remove i386/*-expedite. Add i386-expedite,
amd64-expedite, and x32-expedite.
gdb/ChangeLog
gdb/features/Makefile