From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21593 invoked by alias); 31 Mar 2006 13:53:52 -0000 Received: (qmail 21581 invoked by uid 22791); 31 Mar 2006 13:53:51 -0000 X-Spam-Check-By: sourceware.org Received: from mxout.hispeed.ch (HELO smtp.hispeed.ch) (62.2.95.247) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 31 Mar 2006 13:53:47 +0000 Received: from indel.ch (84-73-8-49.dclient.hispeed.ch [84.73.8.49]) by smtp.hispeed.ch (8.12.6/8.12.6/taifun-1.0) with SMTP id k2VDrhYt008310 for ; Fri, 31 Mar 2006 15:53:44 +0200 Received: from fabi.indel.ch [192.168.1.19] by indel.ch [127.0.0.1] with SMTP (MDaemon.v2.7.SP5.R) for ; Fri, 31 Mar 2006 15:53:43 +0200 Message-Id: <5.2.0.9.1.20060331154403.01f90670@NT_SERVER> X-Sender: cenedese@NT_SERVER (Unverified) Date: Fri, 31 Mar 2006 14:01:00 -0000 To: gdb@sourceware.org From: Fabian Cenedese Subject: Re: stabs difference gcc 2.95.3 -> 3.4.3 In-Reply-To: <20060330152033.GA31520@nevyn.them.org> References: <5.2.0.9.1.20060330162459.01fbe008@NT_SERVER> <5.2.0.9.1.20060330083638.01f6da00@NT_SERVER> <5.2.0.9.1.20060330083638.01f6da00@NT_SERVER> <5.2.0.9.1.20060330162459.01fbe008@NT_SERVER> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-MDaemon-Deliver-To: gdb@sourceware.org X-Return-Path: cenedese@indel.ch X-Virus-Status: Clean X-DCC-spamcheck-02.tornado.cablecom.ch-Metrics: smtp-07.tornado.cablecom.ch 32701; Body=1 Fuz1=1 Fuz2=1 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-03/txt/msg00234.txt.bz2 At 10:20 30.03.2006 -0500, Daniel Jacobowitz wrote: >On Thu, Mar 30, 2006 at 04:33:11PM +0200, Fabian Cenedese wrote: >> Well, as the currently used compiler 2.95.3 is even older and I supposed >> that the stabs format should be compatible I didn't especially try the >> newest versions but I may now. > >The C++ front end has gotten much more sophisticated. Namespace >debugging works in DWARF-2, but fails badly in stabs. > >> The -g is given to gcc, I don't know if that gets passed on to as. But so >> was the setup with the older compiler as well, where it worked. > >GCC 2.95.x predates assembler -g support; GCC 3.4.x doesn't. Can I somehow prevent gcc from relaying it to as? Something like -Wa,(no, don't do -g)? I didn't find a matching parameter on http://sourceware.org/binutils/docs-2.16/as/Invoking.html#Invoking But then again it isn't mentioned either that as would take -g. bye Fabi