PR symtab/19914 fix handling of dwp + split debug
authorDoug Evans <dje@google.com>
Tue, 3 May 2016 23:30:58 +0000 (16:30 -0700)
committerDoug Evans <dje@google.com>
Tue, 3 May 2016 23:30:58 +0000 (16:30 -0700)
commit6c4474237ab3356b100ebbdd6ff1a8839745023d
tree006a3570bd940bd10676bcc8d7e8a8303555f8a2
parenta1ec3d244a75a6e6a2f54235c26e6b1e3b8a2482
PR symtab/19914 fix handling of dwp + split debug

PR symtab/19914
* dwarf2read.c (open_and_init_dwp_file): Look at backlink if objfile
is separate debug file.

testsuite/
* gdb.dwarf2/dwp-sepdebug.c: New file.
* gdb.dwarf2/dwp-sepdebug.exp: New file.
gdb/ChangeLog
gdb/dwarf2read.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/dwp-sepdebug.c [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/dwp-sepdebug.exp [new file with mode: 0644]