bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/20876] objdump is not aware about the build ID method to f


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/20876] objdump is not aware about the build ID method to find detached debug info
Date: Fri, 13 Jan 2017 09:34:06 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=20876

--- Comment #11 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The binutils-2_28-branch branch has been updated by Nick Clifton
<address@hidden>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=695f5e30a3668bb65141b13351f8e3d9da2b841b

commit 695f5e30a3668bb65141b13351f8e3d9da2b841b
Author: Nick Clifton <address@hidden>
Date:   Fri Jan 13 09:32:22 2017 +0000

    Add support for finding separate debug info files via the build-id method.

        PR binutils/20876
    bfd * opncls.c (find_separate_debug_file): Add include_dirs
        parameter.  Only include the directory part of the bfd's filename
        in search paths if include_dirs is true.  Add a couple of extra
        locations for looking for debug files.
        ( bfd_follow_gnu_debuglink): Update invocation of
        find_separate_debug_file.
        (bfd_follow_gnu_debugaltlink): Likewise.
        (get_build_id): New function: Finds the build-id of the given bfd.
        (get_build_id_name): New function: Computes the name of the
        separate debug info file for a bfd, based upon its build-id.
        (check_build_id_file): New function: Checks to see if a separate
        debug info file exists at the given location, and that its
        build-id matches that of the original bfd.
        (bfd_follow_build_id_debuglink): New function: Finds a separate
        debug info file for a given bfd by using the build-id method.
        * dwarf2.c (_bfd_dwarf2_slurp_debug_info): Try using the build-id
        method of locating a separate debug info file before using the
        debuglink method.
        * bfd-in2.h: Regenerate.

    binutils* NEWS: Mention the new feature.
        * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
        New proc to test the location of separate debug info files using
        the build-id method.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]