From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15653 invoked by alias); 27 Apr 2009 06:30:17 -0000 Received: (qmail 15625 invoked by uid 22791); 27 Apr 2009 06:30:14 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 27 Apr 2009 06:30:05 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id BA00E2BACAC; Mon, 27 Apr 2009 02:30:02 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id LmsentA+QxMN; Mon, 27 Apr 2009 02:30:02 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 09D642BAD13; Mon, 27 Apr 2009 02:28:44 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id EA485F5924; Sun, 26 Apr 2009 23:28:28 -0700 (PDT) Date: Mon, 27 Apr 2009 06:32:00 -0000 From: Joel Brobecker To: Paul Pluzhnikov Cc: sumanth , gdb@sourceware.org Subject: Re: gcc - gdb compatibility issue Message-ID: <20090427062828.GM32765@adacore.com> References: <49F53FD6.5040209@redpinesignals.com> <8ac60eac0904262303q4f5b430ak5a14ba34f3dedd7f@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8ac60eac0904262303q4f5b430ak5a14ba34f3dedd7f@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-04/txt/msg00200.txt.bz2 > > I am using gcc-4.3.3 and gdb 5.3 version. > > That's a rather new GCC and rather old GDB. One of the major problems of debugging GCC 4.3 code with such an old GDB is that GDB 5.3 doesn't handle location lists (assuming that the debugging info is DWARF). That may be your problem. Paul provided a lot of very good advice. If that doesn't work, you might want to try the current CVS HEAD or our latest release, which is 6.8. I'm seeing a lot of hard work being done by several contributors towards 7.0 as well which hopefully we'll release before June this year. -- Joel