From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20124 invoked by alias); 27 Apr 2009 06:37:35 -0000 Received: (qmail 20113 invoked by uid 22791); 27 Apr 2009 06:37:34 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mail.redpinesignals.com (HELO mail.redpinesignals.com) (203.196.161.92) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 27 Apr 2009 06:37:30 +0000 Received: from [192.168.40.84] ([192.168.40.84]) (authenticated user sumanth.gundapneni@redpinesignals.com) by mail.redpinesignals.com; Mon, 27 Apr 2009 12:03:32 +0530 Message-ID: <49F55082.3020107@redpinesignals.com> Date: Mon, 27 Apr 2009 06:42:00 -0000 From: sumanth User-Agent: Thunderbird 2.0.0.16 (X11/20080707) MIME-Version: 1.0 To: Joel Brobecker CC: Paul Pluzhnikov , gdb@sourceware.org Subject: Re: gcc - gdb compatibility issue References: <49F53FD6.5040209@redpinesignals.com> <8ac60eac0904262303q4f5b430ak5a14ba34f3dedd7f@mail.gmail.com> <20090427062828.GM32765@adacore.com> In-Reply-To: <20090427062828.GM32765@adacore.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/msg00203.txt.bz2 Joel ... Is there a way that i can avoid location lists generated by my compiler and i am using DWARF 2 Thanks to joel and paul sumanth Joel Brobecker wrote: >>> 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. > >