diff options
| author | Roland McGrath <[email protected]> | 2010-06-20 17:25:35 -0700 |
|---|---|---|
| committer | Roland McGrath <[email protected]> | 2010-06-20 17:25:35 -0700 |
| commit | 5cc030d6169713ff4711c28a6ce1250b142cd5b3 (patch) | |
| tree | 812fddfdaac429d454398fcc38e8f45123cc1003 /libdw/libdwP.h | |
| parent | 183e8abb7bce1b51759f1f16529db7f31e3ec705 (diff) | |
Fix up some holes in .debug_types support.
Diffstat (limited to 'libdw/libdwP.h')
| -rw-r--r-- | libdw/libdwP.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdw/libdwP.h b/libdw/libdwP.h index 14b17498..558f961c 100644 --- a/libdw/libdwP.h +++ b/libdw/libdwP.h @@ -327,7 +327,7 @@ struct Dwarf_CU ((Dwarf_Die) \ { \ .cu = (fromcu), \ - .addr = ((char *) (fromcu)->dbg->sectiondata[IDX_debug_info]->d_buf \ + .addr = ((char *) cu_data (fromcu)->d_buf \ + DIE_OFFSET_FROM_CU_OFFSET ((fromcu)->start, \ (fromcu)->offset_size, \ (fromcu)->type_offset != 0)) \ |
