mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
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:
parent
fbea15088d
commit
64403bd183
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user