]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Support for DWARF5 location lists entries
authorNitika Achra <Nitika.Achra@amd.com>
Thu, 16 Jan 2020 16:51:06 +0000 (11:51 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Thu, 16 Jan 2020 16:51:19 +0000 (11:51 -0500)
commit3112ed9799124edf4d1f9c903da0d59f5a4ca102
tree63fc6bd2ce5133d777ac8bf31d46778d3c862d56
parent2da2eaf4ce299c84c5a1f1bc6f7944266cb36d6e
Support for DWARF5 location lists entries

This patch handles DW_LLE_base_addressx, DW_LLE_startx_length and
DW_LLE_start_length.

Tested by running the testsuite before and after the patch and there is
no increase in the number of test cases that fails. Tested with both
-gdwarf-4 and -gdwarf-5 flags. Also tested -gslit-dwarf along with
-gdwarf-4 as well as -gdwarf5 flags.

This is an effort to support DWARF5 in gdb.

gdb/ChangeLog:

* dwarf2loc.c (decode_debug_loclists_addresses): Handle
DW_LLE_base_addressx, DW_LLE_startx_length, DW_LLE_start_length.
gdb/ChangeLog
gdb/dwarf2loc.c