Commit 0686664c authored by Yunlian Jiang's avatar Yunlian Jiang
Browse files

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

The upstream patch was
commit 6c4474237ab3356b100ebbdd6ff1a8839745023d
Author: Doug Evans <dje@google.com>
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.

        testsuite/
        * 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.
parent 60aaeb2b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment