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 CTF: incorrect underlying type setting for enumeration types 2021-10-18 14:15:21 -04:00
cu.h
die.h
dwz.c gdb: make string-like set show commands use std::string variable 2021-10-03 17:53:16 +01:00
dwz.h
expr.c gdb: change functions returning value contents to use gdb::array_view 2021-10-25 14:51:44 -04:00
expr.h
frame-tailcall.c [gdb/symtab] C++-ify call_site 2021-10-04 18:16:40 +02:00
frame-tailcall.h
frame.c
frame.h
index-cache.c gdb: introduce "set index-cache enabled", deprecate "set index-cache on/off" 2021-11-04 15:48:59 -04:00
index-cache.h
index-common.c
index-common.h
index-write.c gdbsupport: make gdb_mkostemp_cloexec return a scoped_fd 2021-09-30 15:21:48 -04:00
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 CTF: incorrect underlying type setting for enumeration types 2021-10-18 14:15:21 -04:00
sect-names.h
section.c
section.h
stringify.c
stringify.h