mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
Binutils support for split-dwarf and dwarf-5
* dwarf.c (fetch_indexed_string): Added new parameter str_offsets_base to calculate the string offset. (read_and_display_attr_value): Read DW_AT_str_offsets_base attribute. (process_debug_info): While allocating memory and initializing debug_information, do it for do_debug_info also, if its true. (load_separate_debug_files): Load .debug_str_offsets if exists. * dwarf.h (struct debug_info): Add str_offsets_base field.
This commit is contained in:
committed by
Nick Clifton
parent
afc41ffb99
commit
f18acc9c4e
@@ -193,6 +193,7 @@ typedef struct
|
||||
unsigned int num_range_lists;
|
||||
unsigned int max_range_lists;
|
||||
dwarf_vma rnglists_base;
|
||||
dwarf_vma str_offsets_base;
|
||||
}
|
||||
debug_info;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user