gdb: backport an upstream patch to support fission with split debug.

The upstream patch was
commit 6c4474237ab3356b100ebbdd6ff1a8839745023d
Author: Doug Evans <>
Date:   Tue May 3 16:30:58 2016 -0700

    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.

        * gdb.dwarf2/dwp-sepdebug.c: New file.
        * gdb.dwarf2/dwp-sepdebug.exp: New file.

TEST=build chrome with debug fission and put the .dwp file in the debug
     dir. gdb can read debug information from there.
3 files changed
tree: d0e4a9684de3171e9b0c8f42c31419ab1f01dc56
  3. gdb-7.11/