summaryrefslogtreecommitdiffstats
path: root/libdw/dwarf_getlocation.c
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2018-04-06 18:53:34 +0200
committerMark Wielaard <mark@klomp.org>2018-05-28 14:51:26 +0200
commit879f3a4f99dfc7f3678dc1c959e66784f21886bb (patch)
tree06e9556b14ba7a3753afa344679119348676b983 /libdw/dwarf_getlocation.c
parentbc1f86b0c4fd9d00f184e759be5dbab1a15be934 (diff)
libdw: Handle .debug_rnglists in dwarf_ranges.
Handle all new DW_RLE opcodes in .debug_rnglists in dwarf_ranges. Extract code for reading .debug_addr indexes from dwarf_formaddr as __libdw_addrx to reuse in __libdw_read_begin_end_pair_inc. And add new testcase for "plain" DWARF5 and add a new test all-dwarf-ranges to test split DWARF5. Signed-off-by: Mark Wielaard <mark@klomp.org>
Diffstat (limited to 'libdw/dwarf_getlocation.c')
-rw-r--r--libdw/dwarf_getlocation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdw/dwarf_getlocation.c b/libdw/dwarf_getlocation.c
index ade3e6c5..0e7115f8 100644
--- a/libdw/dwarf_getlocation.c
+++ b/libdw/dwarf_getlocation.c
@@ -724,7 +724,7 @@ getlocations_addr (Dwarf_Attribute *attr, ptrdiff_t offset,
Dwarf_Addr end;
next:
- switch (__libdw_read_begin_end_pair_inc (dbg, secidx,
+ switch (__libdw_read_begin_end_pair_inc (cu, secidx,
&readp, readendp,
cu->address_size,
&begin, &end, basep))