* bfin-tdep.c (bfin_extract_return_value): Fix swapped

arguments to store_unsigned_integer.
This commit is contained in:
matt rice 2011-07-20 16:52:36 +00:00
parent 6c83ed5236
commit 1364323a41
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-07-20 Matt Rice <ratmice@gmail.com>
* bfin-tdep.c (bfin_extract_return_value): Fix swapped
arguments to store_unsigned_integer.
2011-07-20 Tom Tromey <tromey@redhat.com>
* dwarf2read.c (process_enumeration_scope): Do not call new_symbol

View File

@ -623,7 +623,7 @@ bfin_extract_return_value (struct type *type,
while (len > 0)
{
regcache_cooked_read_unsigned (regs, regno++, &tmp);
store_unsigned_integer (valbuf, (len > 4 ? 4 : len), tmp, byte_order);
store_unsigned_integer (valbuf, (len > 4 ? 4 : len), byte_order, tmp);
len -= 4;
valbuf += 4;
}