From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22050 invoked by alias); 28 Feb 2003 00:08: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 22039 invoked from network); 28 Feb 2003 00:08:01 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by 172.16.49.205 with SMTP; 28 Feb 2003 00:08:01 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 18oZxW-0004oW-00; Thu, 27 Feb 2003 20:09:10 -0600 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 18oY4F-000581-00; Thu, 27 Feb 2003 19:07:59 -0500 Date: Fri, 28 Feb 2003 00:08:00 -0000 From: Daniel Jacobowitz To: David Wuertele Cc: gdb@sources.redhat.com Subject: Re: gdb 5.3 doesn't find line numbers Message-ID: <20030228000759.GA19664@nevyn.them.org> Mail-Followup-To: David Wuertele , gdb@sources.redhat.com References: <200302261651.04300.cjb@cs.utexas.edu> <20030227233345.GA18807@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-SW-Source: 2003-02/txt/msg00599.txt.bz2 On Thu, Feb 27, 2003 at 03:37:45PM -0800, David Wuertele wrote: > Me> (gdb) b hello.c:26 > Me> No line 26 in file "hello.c". > > Daniel> What does "info source" say? > > (gdb) info source > Current source file is hello.c > Compilation directory is /root > Located in /root/hello.c > Contains 31 lines. > Source language is c. > Compiled with DWARF 2 debugging format. > Does not include preprocessor macro info. > (gdb) d'oh! > > OK, looks like I used the wrong debug flags during compile. > D'oh again. Does that mean you can "break hello.c:26" now? The session you posted before should have worked... -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer