diff options
author | Yao Qi <yao.qi@linaro.org> | 2017-05-24 22:15:23 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2017-05-24 22:15:23 +0100 |
commit | 88954b49e47574cdd048a23ca391a85fb6f77f47 (patch) | |
tree | 8a7ba3a1fd96d0b9d7047857a297ad579262ffcb /gdb/ia64-tdep.c | |
parent | e3ec9b69cde4e07d95eaadee75566fd4a8091df5 (diff) | |
download | binutils-gdb-88954b49e47574cdd048a23ca391a85fb6f77f47.tar.gz |
Restrict ia64_convert_register_p
gdb:
2017-05-24 Yao Qi <yao.qi@linaro.org>
* ia64-tdep.c (ia64_convert_register_p): Check type's code is
TYPE_CODE_FLT.
Diffstat (limited to 'gdb/ia64-tdep.c')
-rw-r--r-- | gdb/ia64-tdep.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/ia64-tdep.c b/gdb/ia64-tdep.c index 8583450fee8..7282acb20ac 100644 --- a/gdb/ia64-tdep.c +++ b/gdb/ia64-tdep.c @@ -1218,6 +1218,7 @@ static int ia64_convert_register_p (struct gdbarch *gdbarch, int regno, struct type *type) { return (regno >= IA64_FR0_REGNUM && regno <= IA64_FR127_REGNUM + && TYPE_CODE (type) == TYPE_CODE_FLT && type != ia64_ext_type (gdbarch)); } |