diff options
Diffstat (limited to 'libdw/dwarf_bytesize.c')
-rw-r--r-- | libdw/dwarf_bytesize.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libdw/dwarf_bytesize.c b/libdw/dwarf_bytesize.c index 635a3c16..536fcd58 100644 --- a/libdw/dwarf_bytesize.c +++ b/libdw/dwarf_bytesize.c @@ -1,5 +1,5 @@ /* Return byte size attribute of DIE. - Copyright (C) 2003, 2005 Red Hat, Inc. + Copyright (C) 2003, 2005, 2009 Red Hat, Inc. This file is part of Red Hat elfutils. Written by Ulrich Drepper <drepper@redhat.com>, 2003. @@ -63,7 +63,7 @@ dwarf_bytesize (die) Dwarf_Attribute attr_mem; Dwarf_Word value; - return INTUSE(dwarf_formudata) (INTUSE(dwarf_attr) (die, DW_AT_byte_size, - &attr_mem), + return INTUSE(dwarf_formudata) (INTUSE(dwarf_attr_integrate) + (die, DW_AT_byte_size, &attr_mem), &value) == 0 ? (int) value : -1; } |