* bfin-tdep.c (bfin_extract_return_value): Fix swapped
authormatt rice <ratmice@gmail.com>
Wed, 20 Jul 2011 16:52:36 +0000 (16:52 +0000)
committermatt rice <ratmice@gmail.com>
Wed, 20 Jul 2011 16:52:36 +0000 (16:52 +0000)
arguments to store_unsigned_integer.

gdb/ChangeLog
gdb/bfin-tdep.c

index aa5bdf10c5d19db254b7ea9a9d5033069939b671..5e4ab8c8e870177c359e92d0d94e2382d815f348 100644 (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
index 8322af5f81b1ecb7a37afd6eb3d36a1b077731db..5522c5ba609f6392716d982da83a999eb857d5a1 100644 (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;
     }
This page took 0.026778 seconds and 4 git commands to generate.