forked from Imagelibrary/binutils-gdb
Binutils support for dwarf-5 (location and range lists related)
* dwarf.h (struct debug_info): Add rnglists_base field. * dwarf.c (read_and_display_attr_value): Read attribute DW_AT_rnglists_base. (display_debug_rnglists_list): While handling DW_RLE_base_addressx, DW_RLE_startx_endx, DW_RLE_startx_length items, pass the proper parameter value to fetch_indexed_addr(), i.e. fetch the proper entry in .debug_addr section. (display_debug_ranges): Add rnglists_base to the .debug_rnglists base address. (load_separate_debug_files): Load .debug_addr section, if exists.
This commit is contained in:
@@ -192,6 +192,7 @@ typedef struct
|
||||
dwarf_vma * range_lists;
|
||||
unsigned int num_range_lists;
|
||||
unsigned int max_range_lists;
|
||||
dwarf_vma rnglists_base;
|
||||
}
|
||||
debug_info;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user