From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2027 invoked by alias); 21 Sep 2004 15:30:16 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 1994 invoked from network); 21 Sep 2004 15:30:15 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 21 Sep 2004 15:30:15 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1C9mar-0003xN-Gp; Tue, 21 Sep 2004 11:30:13 -0400 Date: Tue, 21 Sep 2004 15:30:00 -0000 From: Daniel Jacobowitz To: David Lecomber Cc: patches , Joel Brobecker Subject: Re: [commit] Use full paths for "info sources" Message-ID: <20040921153013.GA15014@nevyn.them.org> Mail-Followup-To: David Lecomber , patches , Joel Brobecker References: <1095776238.14044.8.camel@elmo.priv.wark.uk.streamline-computing.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1095776238.14044.8.camel@elmo.priv.wark.uk.streamline-computing.com> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-09/txt/msg00343.txt.bz2 On Tue, Sep 21, 2004 at 03:17:18PM +0100, David Lecomber wrote: > Alas this fix doesn't seem to fix it for me.. Thanks for checking. > [david@delmo FOO]$ ls > a.out foo > [david@delmo FOO]$ ~/bin/gdb a.out > GNU gdb 20040920 > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you > are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for > details. > This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db > library "/lib/tls/libthread_db.so.1". > > (gdb) info sources > Source files for which symbols have been read > in: > Source files for which symbols will be read in on > demand: main.c, /home/david/FOO/foo/main.c > (gdb) This appears to be a problem in the pseudo-symtab code. It needs to take into account (A) the parent psymtab's dirname field and (B) the directory table. This is the decode_for_pst_p block in dwarf_decode_lines. I want to continue working on intercu support for now, but if Joel doesn't have a chance to look at this, I will later. -- Daniel Jacobowitz