From 72f2769e826551d84dd5d3b3f2364be9518fff8c Mon Sep 17 00:00:00 2001 From: Keith Seitz Date: Wed, 14 Oct 2009 22:50:32 +0000 Subject: [PATCH] * dwarf2read.c (dwarf2_const_value): Fix order of arguments to store_unsigned_integer. --- gdb/ChangeLog | 5 +++++ gdb/dwarf2read.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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: -- 2.30.2