From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12522 invoked by alias); 2 Dec 2004 20:58: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 12496 invoked from network); 2 Dec 2004 20:57:58 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 2 Dec 2004 20:57:58 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1CZy1S-0003C3-EK; Thu, 02 Dec 2004 15:57:54 -0500 Date: Thu, 02 Dec 2004 20:58:00 -0000 From: Daniel Jacobowitz To: Allen Hopkins Cc: gdb Subject: Re: bogus bkpt, using #line directives Message-ID: <20041202205754.GA11651@nevyn.them.org> Mail-Followup-To: Allen Hopkins , gdb References: <41AF543D.9060804@eecs.berkeley.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41AF543D.9060804@eecs.berkeley.edu> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-12/txt/msg00017.txt.bz2 On Thu, Dec 02, 2004 at 09:43:25AM -0800, Allen Hopkins wrote: > The program is very complex & I haven't yet been able to > make a simple test case to demonstrate this. I'm sort of > desperately hoping this looks familiar to somebody who can > offer me some hope, or suggestions. I'm left wondering if I > have to debug gdb, but I'd be in really unfamiliar territory. Start by debugging GCC's generated line table. If you're using DWARF-2, you can print it with readelf -wl. Does it put line markers in sensible places? -- Daniel Jacobowitz