diff options
author | Roland McGrath <roland@redhat.com> | 2010-06-20 17:25:35 -0700 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2010-06-20 17:25:35 -0700 |
commit | 5cc030d6169713ff4711c28a6ce1250b142cd5b3 (patch) | |
tree | 812fddfdaac429d454398fcc38e8f45123cc1003 /libdw/dwarf_formaddr.c | |
parent | 183e8abb7bce1b51759f1f16529db7f31e3ec705 (diff) | |
download | elfutils-5cc030d6169713ff4711c28a6ce1250b142cd5b3.tar.gz |
Fix up some holes in .debug_types support.
Diffstat (limited to 'libdw/dwarf_formaddr.c')
-rw-r--r-- | libdw/dwarf_formaddr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdw/dwarf_formaddr.c b/libdw/dwarf_formaddr.c index 9938be7e..a8c786ff 100644 --- a/libdw/dwarf_formaddr.c +++ b/libdw/dwarf_formaddr.c @@ -1,5 +1,5 @@ /* Return address represented by attribute. - Copyright (C) 2003, 2005 Red Hat, Inc. + Copyright (C) 2003-2010 Red Hat, Inc. This file is part of Red Hat elfutils. Written by Ulrich Drepper <drepper@redhat.com>, 2003. @@ -71,7 +71,7 @@ dwarf_formaddr (attr, return_addr) } if (__libdw_read_address (attr->cu->dbg, - IDX_debug_info, attr->valp, + cu_sec_idx (attr->cu), attr->valp, attr->cu->address_size, return_addr)) return -1; |