From patchwork Wed Nov 21 10:13:47 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Wielaard X-Patchwork-Id: 200622 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 1FCEB2C007C for ; Wed, 21 Nov 2012 21:14:13 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1354097654; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Message-ID:Subject:From:To:Date:Content-Type: Content-Transfer-Encoding:Mime-Version:Mailing-List:Precedence: List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=IW78RtbaAT+46MHHzNNFyS0ntbo=; b=cKZmT3II/MCBkkO vSY+E8MLp121gU0DkTrRNT0G/9fKLNIqSA030RMFnG8Xo2pe8oX/DmiEUdaz8aCf k4uYX0XybcLNayyNhrSv/3XGCHGlsL+/1pKUIZGk3XUYJZ1qp8ilAMTWt6TaiQ8T rtChP5RCkskA/6CrDVu8Yt+4pMks= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Received:Message-ID:Subject:From:To:Date:Content-Type:Content-Transfer-Encoding:Mime-Version:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=Ijf5IUhGmmGJ2m2dTHaeoDErFoXqCiWPAJfsoGTcsVrIFUFnJTvgfwJWUZGsQW FF40081pdY5CemqU32KlMVTdKZYJRFcGFGytSNcbD8Yz1sBUi1gHlDm8w5Ombp3S sbNhtoaT4VqRd0aHZa7H3jBwqfamjcHBZzAltHAXMi7As=; Received: (qmail 17818 invoked by alias); 21 Nov 2012 10:14:06 -0000 Received: (qmail 17796 invoked by uid 22791); 21 Nov 2012 10:14:05 -0000 X-SWARE-Spam-Status: No, hits=-6.4 required=5.0 tests=AWL, BAYES_00, KHOP_RCVD_UNTRUST, RCVD_IN_DNSWL_HI, RCVD_IN_HOSTKARMA_W, RP_MATCHES_RCVD, SPF_HELO_PASS, TW_GD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 21 Nov 2012 10:13:51 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qALADoYL031818 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 21 Nov 2012 05:13:50 -0500 Received: from springer.wildebeest.org (ovpn-113-60.phx2.redhat.com [10.3.113.60]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id qALADnb0020858 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 21 Nov 2012 05:13:50 -0500 Received: by springer.wildebeest.org (Postfix, from userid 500) id 438E440522; Wed, 21 Nov 2012 11:13:48 +0100 (CET) Message-ID: <1353492827.2476.3.camel@springer.wildebeest.org> Subject: [www-docs] Add note to gcc-4.8/changes.html that DWARF4 is now the default. From: Mark Wielaard To: gcc-patches@gcc.gnu.org Date: Wed, 21 Nov 2012 11:13:47 +0100 Mime-Version: 1.0 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org As mentioned in some bug reports it should be documented that DWARF4 is now the default for 4.8 when -g is used (and that one might need a newer version of debugger/profiling/tracing tools to use it). So I added the following: Index: htdocs/gcc-4.8/changes.html =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.8/changes.html,v retrieving revision 1.61 diff -u -r1.61 changes.html --- htdocs/gcc-4.8/changes.html 20 Nov 2012 19:49:00 -0000 1.61 +++ htdocs/gcc-4.8/changes.html 21 Nov 2012 10:07:59 -0000 @@ -53,6 +53,15 @@

General Optimizer Improvements (and Changes)

    +
  • DWARF4 is now the default when generating DWARF debug information. + When -g is used on a platform that uses DWARF debugging information, + GCC will now default to -gdwarf-4 -fno-debug-types-section. + GDB 7.5, Valgrind 3.8.0 and elfutils 0.154 debug information consumers + support DWARF4 by default. Before GCC 4.8 the default version used + was DWARF2. To make GCC 4.8 generate an older DWARF version use -g + together with -gdwarf-2 or -gdwarf-3. The default for Darwin and + VxWorks is still -g-dwarf2 -gstrict-dwarf. +
  • A new general optimization level, -Og, has been introduced. It addresses the need for fast compilation and a superior debugging experience while providing a reasonable level