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