From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12060 invoked by alias); 21 Jun 2011 15:50:30 -0000 Received: (qmail 12045 invoked by uid 22791); 21 Jun 2011 15:50:29 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from quechua.inka.de (HELO mail.inka.de) (193.197.184.2) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 21 Jun 2011 15:50:14 +0000 Received: from raven.inka.de (uucp@[127.0.0.1]) by mail.inka.de with uucp (rmailwrap 0.5) id 1QZ3DP-0007iC-5X; Tue, 21 Jun 2011 17:50:11 +0200 Received: by raven.inka.de (Postfix, from userid 1000) id D6B947625C; Tue, 21 Jun 2011 17:44:16 +0200 (CEST) Date: Tue, 21 Jun 2011 15:50:00 -0000 From: Josef Wolf To: gdb@sourceware.org Subject: Re: Gdb shows wrong line numbers for the sourcecode Message-ID: <20110621154416.GA32254@raven.wolf.lan> Mail-Followup-To: Josef Wolf , gdb@sourceware.org References: <20110620173958.GA28683@raven.wolf.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) 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: 2011-06/txt/msg00135.txt.bz2 On Mon, Jun 20, 2011 at 02:31:11PM -0400, Paul Koning wrote: > Probably the fact that your GDB is an antique. > > I found that a version of GDB not nearly so out of date was unuseable with current GCC. Updated to the current (7.2) and all is well. ARGH! Thanks for the hint, Paul! Actually, I _had_ built gdb-7.2. But after that, I built insight-6.8-1 (that's the latest available version of insight, AFAIK). And insight installed the old gdb over the new one :-/ (that I wrote 6.0 instead of 6.8 was just a typo). Now I kicked insight 6.8-1 into the trash can and rebuilt gdb-7.2 and everything looks good so far. Thanks!