diff options
author | Bhuvanendra Kumar N <Bhuvanendra.KumarN@amd.com> | 2022-06-27 13:07:55 +0530 |
---|---|---|
committer | Alok Kumar Sharma <AlokKumar.Sharma@amd.com> | 2022-06-27 13:34:09 +0530 |
commit | 2d1388e73c700f689b23d53b504e0991fe196596 (patch) | |
tree | bc3d421f06657165aee3c19fcc62b71eadd19870 /gas/testsuite | |
parent | 0d8fb090a7d51c79095983e22b097ba1e6eeb17b (diff) | |
download | gdb-2d1388e73c700f689b23d53b504e0991fe196596.zip gdb-2d1388e73c700f689b23d53b504e0991fe196596.tar.gz gdb-2d1388e73c700f689b23d53b504e0991fe196596.tar.bz2 |
Fix location list offset address dump under DW_AT_location (dwarf-5)
For clang compiled objects with dwarf-5, location list offset address dump
under DW_AT_location is corrected, where DW_FORM_loclistx is used. While
dumping the location list offset, the address dumped is wrong where it was
refering to .debug_addr instead of .debug_loclists
* dwarf.c (fetch_indexed_value): Add base_address as parameter and
use it to access the section offset.
(read_and_display_attr_value): Handle DW_FORM_loclistx form separately.
Pass loclists_base to fetch_indexed_value().
Diffstat (limited to 'gas/testsuite')
0 files changed, 0 insertions, 0 deletions