aboutsummaryrefslogtreecommitdiff
path: root/gdb/proc-utils.h
diff options
context:
space:
mode:
authorYao Qi <yao.qi@linaro.org>2017-05-24 22:15:23 +0100
committerYao Qi <yao.qi@linaro.org>2017-05-24 22:15:23 +0100
commit68fce50f04f495980f4ea81746339a9de5b52ebb (patch)
tree6a3b16a919f1a4e960d3a185ce1175bf83dfa1b2 /gdb/proc-utils.h
parent88954b49e47574cdd048a23ca391a85fb6f77f47 (diff)
downloadgdb-68fce50f04f495980f4ea81746339a9de5b52ebb.zip
gdb-68fce50f04f495980f4ea81746339a9de5b52ebb.tar.gz
gdb-68fce50f04f495980f4ea81746339a9de5b52ebb.tar.bz2
Restrict alpha_convert_register_p
This patch restricts alpha_convert_register_p from "TYPE_LENGTH (type) != 8" to "TYPE_LENGTH (type) == 4", because, - we have check "TYPE_LENGTH (valtype) == 4" in alpha_register_to_value and alpha_value_to_register, - alpha lds and sts instruction access 4 bytes, - comments "It might need to convert the [float] register into the corresponding [integer] type (see Alpha)" and integer is 4-byte on alpha, I think it is the right restrict condition to "TYPE_LENGTH (valtype) == 4". gdb: 2017-05-24 Yao Qi <yao.qi@linaro.org> * alpha-tdep.c (alpha_convert_register_p): Return true if type length is 4. (alpha_register_to_value): Remove type length check. (alpha_value_to_register): Likewise.
Diffstat (limited to 'gdb/proc-utils.h')
0 files changed, 0 insertions, 0 deletions