* dwarf2read.c (dwarf2_const_value): Fix order of arguments to

store_unsigned_integer.
This commit is contained in:
Keith Seitz 2009-10-14 22:50:32 +00:00
parent 481cb1bb45
commit 72f2769e82
2 changed files with 6 additions and 1 deletions

View 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> 2009-10-14 Pedro Alves <pedro@codesourcery.com>
* configure.ac (build_warnings): Add -Wunused-value. * configure.ac (build_warnings): Add -Wunused-value.

View 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 /* NOTE: cagney/2003-05-09: In-lined store_address call with
it's body - store_unsigned_integer. */ it's body - store_unsigned_integer. */
store_unsigned_integer (SYMBOL_VALUE_BYTES (sym), cu_header->addr_size, 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; SYMBOL_CLASS (sym) = LOC_CONST_BYTES;
break; break;
case DW_FORM_string: case DW_FORM_string: