aboutsummaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorBhuvanendra Kumar N <Bhuvanendra.KumarN@amd.com>2022-06-27 13:07:55 +0530
committerAlok Kumar Sharma <AlokKumar.Sharma@amd.com>2022-06-27 13:34:09 +0530
commit2d1388e73c700f689b23d53b504e0991fe196596 (patch)
treebc3d421f06657165aee3c19fcc62b71eadd19870 /cpu
parent0d8fb090a7d51c79095983e22b097ba1e6eeb17b (diff)
downloadgdb-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 'cpu')
0 files changed, 0 insertions, 0 deletions