From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25709 invoked by alias); 22 Nov 2004 16:44:08 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 25665 invoked from network); 22 Nov 2004 16:44:01 -0000 Received: from unknown (HELO mail.codesourcery.com) (65.74.133.9) by sourceware.org with SMTP; 22 Nov 2004 16:44:01 -0000 Received: (qmail 21048 invoked from network); 22 Nov 2004 16:44:01 -0000 Received: from localhost (HELO ?192.168.189.167?) (nathan@127.0.0.1) by mail.codesourcery.com with SMTP; 22 Nov 2004 16:44:01 -0000 Message-ID: <41A21749.1000204@codesourcery.com> Date: Mon, 22 Nov 2004 16:44:00 -0000 From: Nathan Sidwell Organization: Codesourcery LLC User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913 MIME-Version: 1.0 To: Wei ZHANG CC: gcc-help@gcc.gnu.org, Arularasan RAMASAMY Subject: Re: GCC debug options References: <41A184DB.5040402@st.com> In-Reply-To: <41A184DB.5040402@st.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-11/txt/msg00157.txt.bz2 Wei ZHANG wrote: > Hi, > > We used to have a debug option -gdwarf+ when we were using gcc 2.95. > However when we changed to higher version of gcc, we got these errors: > > In gcc (GCC) 3.2, we got the warning: > cc1: warning: 'dwarf+': unknown or unsupported -g option > > In gcc version 3.4.2, we got the error: > cc1: error: unrecognised debug output level "dwarf+" > > After I checked the latest gcc manual, I found that this option has been > removed from gcc. You could try the -ggdb or -gdwarf-2 options. One shudders to think why you have a single source file with 1,000,000 lines in it, even if machine generated, ... nathan -- Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk