Remove MAX_REGISTER_SIZE from arm-tdep.c

gdb/
	* arm-tdep.c (arm_store_return_value): Use FP_REGISTER_SIZE
This commit is contained in:
Alan Hayward 2017-04-11 13:51:58 +01:00
parent fbea15088d
commit 64403bd183
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2017-04-11 Alan Hayward <alan.hayward@arm.com>
* arm-tdep.c (arm_store_return_value): Use FP_REGISTER_SIZE
2017-04-10 Sergio Durigan Junior <sergiodj@redhat.com>
PR gdb/21364

View File

@ -8160,7 +8160,7 @@ arm_store_return_value (struct type *type, struct regcache *regs,
if (TYPE_CODE (type) == TYPE_CODE_FLT)
{
gdb_byte buf[MAX_REGISTER_SIZE];
gdb_byte buf[FP_REGISTER_SIZE];
switch (gdbarch_tdep (gdbarch)->fp_model)
{