diff options
author | Yao Qi <yao.qi@linaro.org> | 2017-10-13 15:36:49 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2017-10-13 15:36:49 +0100 |
commit | 2399fe6ab0b6ee64c569992e4bc3bbae3b5b2193 (patch) | |
tree | fd106071f548c61722cc91df180b40fe685077a0 /gdb/mdebugread.c | |
parent | 4bf3f4a810813214213ad4f7d869eb24e79d77af (diff) | |
download | binutils-2399fe6ab0b6ee64c569992e4bc3bbae3b5b2193.zip binutils-2399fe6ab0b6ee64c569992e4bc3bbae3b5b2193.tar.gz binutils-2399fe6ab0b6ee64c569992e4bc3bbae3b5b2193.tar.bz2 |
Simplify tic6x and s390x expedite registers
Nowadays, we have six tic6x expedite registers, which are duplicated.
tic6x-c64xp-expedite = A15,PC
tic6x-c64x-expedite = A15,PC
tic6x-c62x-expedite = A15,PC
tic6x-c64xp-linux-expedite = A15,PC
tic6x-c64x-linux-expedite = A15,PC
tic6x-c62x-linux-expedite = A15,PC
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. We can define only one generic
expedite register for all different ti6cx and s390x target descriptions.
Actually, we've done that for x86 target descriptions.
Re-run 'make GDB=/path/build/gdb all' to regenerate regformats/*.dat files,
and they are not changed.
gdb:
2017-10-13 Yao Qi <yao.qi@linaro.org>
* features/Makefile: Remove tic6x-*-expedite, add tic6x-expedite.
Remove s390x-*-expedite, add s390x-expedite.
Diffstat (limited to 'gdb/mdebugread.c')
0 files changed, 0 insertions, 0 deletions