From patchwork Sat Nov 24 20:18:13 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerald Pfeifer X-Patchwork-Id: 201475 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 C25CB2C0081 for ; Sun, 25 Nov 2012 07:18:27 +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=1354393109; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Date: From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type:Mailing-List:Precedence:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=QrBjOSLIB6F/uJepQ6KJf2mS71w=; b=t0fDVBhKy68OrrL Jr3UuBoqdcM8j6QgRpYzEuo6MsdQGb7gXZW+L9go2wtwyeasiKX6vbv9gojeKV9+ fjcTW8ATeyUq3WxAoQ6jUyhpMNBAQe1yEVroKFb+KXwJzxu/Wyi665alSUlh08F+ E0GH3XmlZf4iWXKMyA8w/5fTP17M= 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:Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:MIME-Version:Content-Type:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=R1su6KXhSzzxgpzkQyczTYIt/AspOMJaLqVhlmlxE2HSq3RFyI0M/AQDkjjO85 kQ06Iy4BwmRHtNEa/fRWcaj02x5YUIY2mJZibmVqZb24BY1FT/bImXtiX1xIfUkG F6ka4uFjrWzIRCa4d/rl3qlTl4ki87OZPhebZwEF7cfK4=; Received: (qmail 19949 invoked by alias); 24 Nov 2012 20:18:21 -0000 Received: (qmail 19941 invoked by uid 22791); 24 Nov 2012 20:18:21 -0000 X-SWARE-Spam-Status: No, hits=-51.6 required=5.0 tests=AWL, BAYES_00, KHOP_THREADED, TW_GD X-Spam-Check-By: sourceware.org Received: from ainaz.pair.com (HELO ainaz.pair.com) (209.68.2.66) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 24 Nov 2012 20:18:16 +0000 Received: from [192.168.0.129] (vie-188-118-248-104.dsl.sil.at [188.118.248.104]) by ainaz.pair.com (Postfix) with ESMTPSA id D91F23F412; Sat, 24 Nov 2012 15:18:14 -0500 (EST) Date: Sat, 24 Nov 2012 21:18:13 +0100 (CET) From: Gerald Pfeifer To: Mark Wielaard cc: gcc-patches@gcc.gnu.org Subject: Re: [www-docs] Add note to gcc-4.8/changes.html that DWARF4 is now the default. In-Reply-To: <1353492827.2476.3.camel@springer.wildebeest.org> Message-ID: References: <1353492827.2476.3.camel@springer.wildebeest.org> MIME-Version: 1.0 X-IsSubscribed: yes 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 On Wed, 21 Nov 2012, Mark Wielaard wrote: > 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: I applied the following patch on top of yours, which adds ... markup for command-line options and a line break. Gerald Index: changes.html =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.8/changes.html,v retrieving revision 1.65 diff -u -3 -p -r1.65 changes.html --- changes.html 23 Nov 2012 13:19:03 -0000 1.65 +++ changes.html 24 Nov 2012 19:43:40 -0000 @@ -54,13 +54,16 @@ by this change.

  • 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. + 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 -gdwarf-2 -gstrict-dwarf. + 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 + -gdwarf-2 -gstrict-dwarf.
  • A new general optimization level, -Og, has been introduced. It addresses the need for fast compilation and a