From: Keith Seitz Date: Wed, 14 Oct 2009 22:50:32 +0000 (+0000) Subject: * dwarf2read.c (dwarf2_const_value): Fix order of arguments to X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=72f2769e826551d84dd5d3b3f2364be9518fff8c;p=binutils-gdb.git * dwarf2read.c (dwarf2_const_value): Fix order of arguments to store_unsigned_integer. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 12831b45a26..5ae8837504f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2009-10-14 Keith Seitz + + * dwarf2read.c (dwarf2_const_value): Fix order of arguments to + store_unsigned_integer. + 2009-10-14 Pedro Alves * configure.ac (build_warnings): Add -Wunused-value. diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 69a7242815d..e001494a05b 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -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: