From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2859 invoked by alias); 15 Apr 2003 06:20:02 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 2845 invoked from network); 15 Apr 2003 06:20:01 -0000 Received: from unknown (HELO beta.dmz-eu.st.com) (164.129.1.35) by sources.redhat.com with SMTP; 15 Apr 2003 06:20:01 -0000 Received: from zeta.dmz-eu.st.com (ns2.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with SMTP id 18E83DAA0 for ; Tue, 15 Apr 2003 06:19:46 +0000 (GMT) Received: by zeta.dmz-eu.st.com (STMicroelectronics, from userid 0) id E98B06117; Tue, 15 Apr 2003 06:19:45 +0000 (GMT) Received: from crx316.cro.st.com (localhost [127.0.0.1]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 8B09D1845 for ; Tue, 15 Apr 2003 06:19:45 +0000 (GMT) Received: from crx1085 (crx1085.cro.st.com [164.129.46.185]) by crx316.cro.st.com (8.9.3 (PHNE_24419+JAGae58098)/8.9.3) with ESMTP id IAA25442 for ; Tue, 15 Apr 2003 08:23:38 +0200 (METDST) Subject: Re: Problems with gdb on Solaris 8 From: =?ISO-8859-1?Q?Fr=E9d=E9ric?= RISS To: gdb@sources.redhat.com In-Reply-To: <3E986D54.729AD7B2@redhat.com> References: <20030403202605.7bac1421.dbfrager@attbi.com> <3E965161.955869C7@redhat.com> <1050044432.1761.7.camel@crx1085> <3E986D54.729AD7B2@redhat.com> Content-Type: text/plain; charset=ISO-8859-15 Organization: STMicroelectronics - DAIS Message-Id: <1050387582.3043.2.camel@crx1085> Mime-Version: 1.0 Date: Tue, 15 Apr 2003 06:20:00 -0000 Content-Transfer-Encoding: 8bit X-SW-Source: 2003-04/txt/msg00141.txt.bz2 On Sat, 2003-04-12 at 21:47, msnyder@redhat.com wrote: > > I'm having some problems with gdb 5.2.1 on Solaris when I compile my > > applications with gcc 3.2. The symptoms are not the same as David's > > ones, but I think this may be related. Here's a more precise situation : > > > > gcc 3.2 with -g option => I can debug with gdb 5.0 without problem, but > > gdb5.2 is unusable (breakpoints put at the > > wrong place for the most) > > > > gcc 3.2 with -gdwarf-2 => I can debug with gdb 5.2 ! > > > > Unfortunately, I depend on libs which are compiled with -g, so I'm stuck > > debugging with gdb 5.0... Is this a known issue ? Is there any solution > > It's not familiar to me, but sounds like a STABS problem. > I'm not really up on my recent version history. Is nobody else aware of this _very_ annoying issue ? It seems it's really a GDB problem as gdb 5.0 copes well with the generated binaries, our should this be reported to GCC ? Regards, -- Frédéric RISS STMicroelectronics - DAIS