From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23145 invoked by alias); 23 Aug 2005 11:40:38 -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 22886 invoked by uid 22791); 23 Aug 2005 11:40:30 -0000 Received: from eastrmmtao01.cox.net (HELO eastrmmtao01.cox.net) (68.230.240.38) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 23 Aug 2005 11:40:30 +0000 Received: from white ([68.9.64.121]) by eastrmmtao01.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050823114028.QIKX3097.eastrmmtao01.cox.net@white>; Tue, 23 Aug 2005 07:40:28 -0400 Received: from bob by white with local (Exim 3.36 #1 (Debian)) id 1E7X8m-0007Hn-00; Tue, 23 Aug 2005 07:40:28 -0400 Date: Tue, 23 Aug 2005 11:40:00 -0000 From: Bob Rossi To: Craig Jeffree , gdb@sources.redhat.com Subject: Re: trouble locating source files through relative paths Message-ID: <20050823114028.GB27899@white> Mail-Followup-To: Craig Jeffree , gdb@sources.redhat.com References: <1124436292.3582.64.camel@norman> <20050819124329.GA18911@white> <1124773410.3749.38.camel@norman> <20050823113138.GA27899@white> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050823113138.GA27899@white> User-Agent: Mutt/1.5.9i X-SW-Source: 2005-08/txt/msg00087.txt.bz2 On Tue, Aug 23, 2005 at 07:31:38AM -0400, Bob Rossi wrote: > On Tue, Aug 23, 2005 at 03:03:29PM +1000, Craig Jeffree wrote: > > On Fri, 2005-08-19 at 08:43 -0400, Bob Rossi wrote: > > > What was the 'dir' command that you issued? What compiler are you using? > > > Do you know what debug format you are using? (stabs or dwarf)? > > > > The dir command that I issued was: > > (gdb) dir /staff/taam/taam/bin/x86-Linux/nostrip/ > > Source directories searched: /staff/taam/taam/bin/x86-Linux/nostrip: > > $cdir:$cwd > > > > I'm using gcc 3.2.3 with the default debug format for x86-Linux (dwarf2 > > I believe). > > Is this problem reproducable in a small example? Geez, actually, I did just reproduce the problem. It seems that the only current solution to get it to work is to do as you said, put the path to where the include file is, not to where the relative path to it is. I'll look into this. Thanks, Bob Rossi