diff options
author | ratmice <ratmice> | 2011-07-20 16:52:32 +0000 |
---|---|---|
committer | ratmice <ratmice> | 2011-07-20 16:52:32 +0000 |
commit | 2e56713adcaa05081b8b1ec84c4e0ae6271318a4 (patch) | |
tree | 2f1534857ee30500b7032302c48e0b2dbd22a8df | |
parent | 9d9a570165d534fe676eb1529e5ba9bced37f3ac (diff) | |
download | gdb-2e56713adcaa05081b8b1ec84c4e0ae6271318a4.tar.gz |
* bfin-tdep.c (bfin_extract_return_value): Fix swapped
arguments to store_unsigned_integer.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/bfin-tdep.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index aa5bdf10c5d..5e4ab8c8e87 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 diff --git a/gdb/bfin-tdep.c b/gdb/bfin-tdep.c index 8322af5f81b..5522c5ba609 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; } |