From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24066 invoked by alias); 20 Jun 2004 20:29:37 -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 24032 invoked from network); 20 Jun 2004 20:29:35 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 20 Jun 2004 20:29:35 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1Bc8wU-0004Ux-An; Sun, 20 Jun 2004 16:29:30 -0400 Date: Sun, 20 Jun 2004 20:29:00 -0000 From: Daniel Jacobowitz To: Otto Wyss Cc: gdb@sources.redhat.com Subject: Re: GDB doesn't show the correct line Message-ID: <20040620202929.GA17216@nevyn.them.org> Mail-Followup-To: Otto Wyss , gdb@sources.redhat.com References: <40D5E480.4A68163@orpatec.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40D5E480.4A68163@orpatec.ch> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-06/txt/msg00202.txt.bz2 On Sun, Jun 20, 2004 at 09:24:48PM +0200, Otto Wyss wrote: > Since a few days GDB (6.1-debian) offsets the shown line by about 3 > lines. when I set a breakpoint at a function name of a class (C++) it > stops and shows the line 3 more down. When I now step through (next) > always the next line is shown, sometimes even empty lines. It seems the > correct statements were processed. Is this a known problem and is there > a workaround? Not a known problem - test case? Usually this means you've confused GDB about what version of a source file it should be opening. -- Daniel Jacobowitz