diff options
author | Kumar N, Bhuvanendra <Kavitha.Natarajan@amd.com> | 2022-06-22 17:07:25 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2022-06-22 17:07:25 +0100 |
commit | f18acc9c4e5d18f4783f3a7d59e3ec95d7af0199 (patch) | |
tree | 9692970a3e573d4acf350278b6adefcab7aae98d /binutils/dwarf.h | |
parent | afc41ffb993a275d7f5460e8f5a4341729caab4f (diff) | |
download | fsf-binutils-gdb-f18acc9c4e5d18f4783f3a7d59e3ec95d7af0199.zip fsf-binutils-gdb-f18acc9c4e5d18f4783f3a7d59e3ec95d7af0199.tar.gz fsf-binutils-gdb-f18acc9c4e5d18f4783f3a7d59e3ec95d7af0199.tar.bz2 |
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.
Diffstat (limited to 'binutils/dwarf.h')
-rw-r--r-- | binutils/dwarf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/binutils/dwarf.h b/binutils/dwarf.h index 8a89c08..adbf20f 100644 --- a/binutils/dwarf.h +++ b/binutils/dwarf.h @@ -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; |