]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Binutils support for split-dwarf and dwarf-5
authorKumar N, Bhuvanendra <Kavitha.Natarajan@amd.com>
Wed, 22 Jun 2022 16:07:25 +0000 (17:07 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 22 Jun 2022 16:07:25 +0000 (17:07 +0100)
commitf18acc9c4e5d18f4783f3a7d59e3ec95d7af0199
tree9692970a3e573d4acf350278b6adefcab7aae98d
parentafc41ffb993a275d7f5460e8f5a4341729caab4f
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.
binutils/ChangeLog
binutils/dwarf.c
binutils/dwarf.h