From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2161) id 3D9F03950408; Tue, 2 Mar 2021 17:45:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3D9F03950408 To: gcc-cvs-wwwdocs@gcc.gnu.org Subject: gcc-wwwdocs branch master updated. 80dc53f6b38d697b169fad9ce3b8787ce1c6768c X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 57190618a8884fbf1ae7f48a6968dab84b2837fa X-Git-Newrev: 80dc53f6b38d697b169fad9ce3b8787ce1c6768c Message-Id: <20210302174538.3D9F03950408@sourceware.org> Date: Tue, 2 Mar 2021 17:45:38 +0000 (GMT) From: Mark Wielaard X-BeenThere: gcc-cvs-wwwdocs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs-wwwdocs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2021 17:45:38 -0000 This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gcc-wwwdocs". The branch, master has been updated via 80dc53f6b38d697b169fad9ce3b8787ce1c6768c (commit) from 57190618a8884fbf1ae7f48a6968dab84b2837fa (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 80dc53f6b38d697b169fad9ce3b8787ce1c6768c Author: Mark Wielaard Date: Fri Feb 19 18:02:19 2021 +0100 Document the GCC11 change to DWARF5 default. * gcc-11/changes.html (General Improvements): Add a section on the DWARF version 5 default. diff --git a/htdocs/gcc-11/changes.html b/htdocs/gcc-11/changes.html index 6a47b0b8..9734eee8 100644 --- a/htdocs/gcc-11/changes.html +++ b/htdocs/gcc-11/changes.html @@ -139,6 +139,37 @@ a work-in-progress.

  • -fsanitize=kernel-hwaddress to instrument kernel code.
  • +
  • +

    + For targets that produce DWARF debugging information GCC now + defaults to DWARF + version 5 (with the exception of VxWorks and Darwin/Mac OS X + which default to version 2 and AIX which defaults to version 4). + This can produce up to 25% more compact debug information + compared to earlier versions. +

    + To take full advantage of DWARF version 5 GCC needs to be build + against binutils version 2.35.2 or higher. When GCC is build + against earlier versions of binutils GCC will still emit DWARF + version 5 for most debuginfo data, but will generate version 4 + debug line tables (even when explicitly given -gdwarf-5). +

    + The following debug information consumers can process DWARF version 5: +

      +
    • GDB 8.0, or higher +
    • valgrind 3.17.0 +
    • elfutils 0.172, or higher (for use with systemtap, + dwarves/pahole, perf and libabigail) +
    • dwz 0.14 +
    +

    + Programs embedding libbacktrace are urged to upgrade to the version + shipping with GCC 11. +

    + To make GCC 11 generate an older DWARF version + use -g together with -gdwarf-2, + -gdwarf-3 or -gdwarf-4. +

  • ----------------------------------------------------------------------- Summary of changes: htdocs/gcc-11/changes.html | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) hooks/post-receive -- gcc-wwwdocs