aboutsummaryrefslogtreecommitdiff
path: root/gdb/bfin-tdep.c
diff options
context:
space:
mode:
authormatt rice <ratmice@gmail.com>2011-07-20 16:52:36 +0000
committermatt rice <ratmice@gmail.com>2011-07-20 16:52:36 +0000
commit1364323a419500dd6b486eb6fc52d5afb83e82e6 (patch)
treed81248ffe7451ca2f2f3e4885b45ea389ec7adfc /gdb/bfin-tdep.c
parent6c83ed5236196bc958718f86d547551f25592659 (diff)
downloadgdb-1364323a419500dd6b486eb6fc52d5afb83e82e6.zip
gdb-1364323a419500dd6b486eb6fc52d5afb83e82e6.tar.gz
gdb-1364323a419500dd6b486eb6fc52d5afb83e82e6.tar.bz2
* bfin-tdep.c (bfin_extract_return_value): Fix swapped
arguments to store_unsigned_integer.
Diffstat (limited to 'gdb/bfin-tdep.c')
-rw-r--r--gdb/bfin-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/bfin-tdep.c b/gdb/bfin-tdep.c
index 8322af5..5522c5b 100644
--- a/gdb/bfin-tdep.c
+++ b/gdb/bfin-tdep.c
@@ -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;
}