mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-14 12:53:34 +08:00
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.
This commit is contained in:
parent
e3ec9b69cd
commit
88954b49e4
@ -1,3 +1,8 @@
|
||||
2017-05-24 Yao Qi <yao.qi@linaro.org>
|
||||
|
||||
* ia64-tdep.c (ia64_convert_register_p): Check type's code is
|
||||
TYPE_CODE_FLT.
|
||||
|
||||
2017-05-24 Yao Qi <yao.qi@linaro.org>
|
||||
|
||||
* m68k-tdep.c (m68k_convert_register_p): Check type's code is
|
||||
|
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user