binutils-gdb/gdb/dwarf2
Tom Tromey 0c7af29227 Handle PIE in .debug_loclists
Simon pointed out that my recent patches to .debug_loclists caused
some regressions.  After a brief discussion we realized it was because
his system compiler defaults to PIE.

This patch changes this code to unconditionally apply the text offset
here.  It also changes loclist_describe_location to work more like
dwarf2_find_location_expression.

I tested this by running the gdb.dwarf2 tests both with and without
-pie.
2021-11-10 12:16:40 -07:00
..
abbrev.c
abbrev.h
attribute.c
attribute.h
comp-unit-head.c
comp-unit-head.h
cu.c
cu.h
die.h
dwz.c
dwz.h
expr.c
expr.h
frame-tailcall.c
frame-tailcall.h
frame.c
frame.h
index-cache.c
index-cache.h
index-common.c
index-common.h
index-write.c
index-write.h
leb.c
leb.h
line-header.c
line-header.h
loc.c Handle PIE in .debug_loclists 2021-11-10 12:16:40 -07:00
loc.h
macro.c
macro.h
public.h
read.c Improve gdb::array_view ctor from contiguous containers 2021-11-08 21:55:36 +00:00
read.h
sect-names.h
section.c
section.h
stringify.c
stringify.h