forked from Imagelibrary/binutils-gdb
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:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user