aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.c
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2009-10-14 22:50:32 +0000
committerKeith Seitz <keiths@redhat.com>2009-10-14 22:50:32 +0000
commit72f2769e826551d84dd5d3b3f2364be9518fff8c (patch)
treeee35277ce2308543668b0835ca956393a55bf22e /gdb/dwarf2read.c
parent481cb1bb4502e6bbe053355501c7a90c8ea4a223 (diff)
downloadgdb-72f2769e826551d84dd5d3b3f2364be9518fff8c.zip
gdb-72f2769e826551d84dd5d3b3f2364be9518fff8c.tar.gz
gdb-72f2769e826551d84dd5d3b3f2364be9518fff8c.tar.bz2
* dwarf2read.c (dwarf2_const_value): Fix order of arguments to
store_unsigned_integer.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r--gdb/dwarf2read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 69a7242..e001494 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: