diff options
author | Keith Seitz <keiths@redhat.com> | 2009-10-14 22:50:32 +0000 |
---|---|---|
committer | Keith Seitz <keiths@redhat.com> | 2009-10-14 22:50:32 +0000 |
commit | 72f2769e826551d84dd5d3b3f2364be9518fff8c (patch) | |
tree | ee35277ce2308543668b0835ca956393a55bf22e /gdb | |
parent | 481cb1bb4502e6bbe053355501c7a90c8ea4a223 (diff) | |
download | gdb-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')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/dwarf2read.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 12831b4..5ae8837 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. 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: |