OSDN Git Service

* dwarf2read.c (dwarf2_const_value): Fix order of arguments to
authorkseitz <kseitz>
Wed, 14 Oct 2009 22:50:30 +0000 (22:50 +0000)
committerkseitz <kseitz>
Wed, 14 Oct 2009 22:50:30 +0000 (22:50 +0000)
store_unsigned_integer.

gdb/ChangeLog
gdb/dwarf2read.c

index 12831b4..5ae8837 100644 (file)
@@ -1,3 +1,8 @@
+2009-10-14  Keith Seitz  <keiths@redhat.com>
+
+       * dwarf2read.c (dwarf2_const_value): Fix order of arguments to
+       store_unsigned_integer.
+
 2009-10-14  Pedro Alves  <pedro@codesourcery.com>
 
        * configure.ac (build_warnings): Add -Wunused-value.
index 69a7242..e001494 100644 (file)
@@ -8603,7 +8603,7 @@ dwarf2_const_value (struct attribute *attr, struct symbol *sym,
       /* NOTE: cagney/2003-05-09: In-lined store_address call with
          it's body - store_unsigned_integer.  */
       store_unsigned_integer (SYMBOL_VALUE_BYTES (sym), cu_header->addr_size,
-                             DW_ADDR (attr), byte_order);
+                             byte_order, DW_ADDR (attr));
       SYMBOL_CLASS (sym) = LOC_CONST_BYTES;
       break;
     case DW_FORM_string: