set ret signed in arm_record_extension_space
authorYao Qi <yao.qi@linaro.org>
Thu, 1 Feb 2018 15:09:44 +0000 (15:09 +0000)
committerYao Qi <yao.qi@linaro.org>
Thu, 1 Feb 2018 15:09:44 +0000 (15:09 +0000)
commitdf95a9cf09867c237ddf9b4eb65a990e86de1e17
treedd49f8a11100640643067b40c7c9fcb8f7896e58
parentd4d38844faaff1576b021558d0835dedbd415e8d
set ret signed in arm_record_extension_space

Variable 'ret' should be int rather than unsigned, as it can be -1.

gdb:

2018-02-01  Yao Qi  <yao.qi@linaro.org>

* arm-tdep.c (arm_record_extension_space): Change ret to signed.
gdb/ChangeLog
gdb/arm-tdep.c