From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32024 invoked by alias); 26 Aug 2005 02:20:09 -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 31482 invoked by uid 22791); 26 Aug 2005 02:20:03 -0000 Received: from eastrmmtao02.cox.net (HELO eastrmmtao02.cox.net) (68.230.240.37) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 26 Aug 2005 02:20:03 +0000 Received: from white ([68.9.64.121]) by eastrmmtao02.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050826021959.JHDZ12154.eastrmmtao02.cox.net@white>; Thu, 25 Aug 2005 22:19:59 -0400 Received: from bob by white with local (Exim 3.36 #1 (Debian)) id 1E8Tp3-0000Rf-00; Thu, 25 Aug 2005 22:20:01 -0400 Date: Fri, 26 Aug 2005 02:20:00 -0000 From: Bob Rossi To: Craig Jeffree Cc: gdb@sources.redhat.com Subject: Re: trouble locating source files through relative paths Message-ID: <20050826022000.GA1699@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> <20050823114028.GB27899@white> <1124866437.3749.75.camel@norman> <20050824112417.GA30211@white> <1124928432.10500.12.camel@norman> <20050825111158.GA32174@white> <1125013381.10500.18.camel@norman> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1125013381.10500.18.camel@norman> User-Agent: Mutt/1.5.9i X-SW-Source: 2005-08/txt/msg00100.txt.bz2 On Fri, Aug 26, 2005 at 09:43:00AM +1000, Craig Jeffree wrote: > On Thu, 2005-08-25 at 07:11 -0400, Bob Rossi wrote: > > Thanks for all the explaining. I have yet another question. Does > > GeAttribute.H also have a counterpart GeAttribute.cpp? If so, is that > > file found by GDB before or after the dir command? I appreciate the > > response's because the examples I reproduce are slightly different then > > what you are seeing, although it might be enough to prove the point. > > Thank-you for looking into this! GeAttribute.H is just a header, there > is no corresponding .cpp file. OK, thanks. Is there any .cpp files that are in the relative directory? I want to know if GDB can find the .cpp files but not the .H files. So, do 'info sources' before the dir command and check to see if the .cpp files from the relative directory have an absolute path to them. If not, do the dir command, and then see. Thanks. Bob Rossi