PR symtab/19999 gdb unable to resolve vars with fission+PIE
authorDoug Evans <dje@google.com>
Thu, 12 May 2016 16:20:57 +0000 (09:20 -0700)
committerDoug Evans <dje@google.com>
Thu, 12 May 2016 16:24:24 +0000 (09:24 -0700)
commit8ddd5a6cd692ca8c4041d9fb64cbb4e0585d4aa1
treea6d62b40f39d4f951aa6031ca27b51f720b859ce
parent58c7f094c0093a7773e939938f22a9a063c4b9a8
PR symtab/19999 gdb unable to resolve vars with fission+PIE

gdb/ChangeLog:

* dwarf2loc.c (dwarf2_find_location_expression): For DWO files still
add base_offset.

gdb/testsuite/ChangeLog:

* lib/dwarf.exp (build_executable_from_fission_assembler): Pass
$options when building executable.
* gdb.dwarf2/fission-loclists-pie.c: New file.
* gdb.dwarf2/fission-loclists-pie.exp: New file.
gdb/ChangeLog
gdb/dwarf2loc.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/fission-loclists-pie.S [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/fission-loclists-pie.exp [new file with mode: 0644]
gdb/testsuite/lib/dwarf.exp