* dwarf2read.c (dwarf2_const_value): Fix order of arguments to
authorKeith Seitz <keiths@redhat.com>
Wed, 14 Oct 2009 22:50:32 +0000 (22:50 +0000)
committerKeith Seitz <keiths@redhat.com>
Wed, 14 Oct 2009 22:50:32 +0000 (22:50 +0000)
store_unsigned_integer.

gdb/ChangeLog
gdb/dwarf2read.c

index 12831b45a269152b1e50cdd4c7589c07e03521bc..5ae8837504f07cba3f3b7432943a930b781ea038 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 69a7242815d3549b78d48f0ccf4ce35d45983186..e001494a05b64e96418c4d2742d5f4e8d4ac9617 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: