[Top][All Lists]

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

[Bug binutils/25676] binutils can't handle the split/linked nature of th

From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/25676] binutils can't handle the split/linked nature of the debug-records for variables whose (separate) extern-decl and definition are found in the same compilation unit
Date: Thu, 19 Mar 2020 16:56:29 +0000


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


commit f3a08f77787cfe1b9edb7b5ab82ce7a2d527c8cf
Author: Nick Clifton <address@hidden>
Date:   Thu Mar 19 16:55:13 2020 +0000

    Fix discrepancies in nm's --line-number output by adding support for the
DW_AT_specification DWARF Attttribute.

            PR 25676
    bfd     * dwarf2.c (struct varinfo): Add unit_offset field to record the
            location of the varinfo in the unit's debug info data.  Change the
            type of the stack field to a boolean.
            (lookup_var_by_offset): New function.  Returns the varinfo
            structure for the variable described at the given offset in the
            unit's debug info.
            (scan_unit_for_symbols): Add support for variables which have the
            DW_AT_specification attribute.

    binutils* testsuite/binutils-all/dw4.s: New test source file.
            * testsuite/binutils-all/nm.exp: Run the new test.

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]